Skip to content

Commit 2037dc9

Browse files
committed
Add git as a test dependency of gitlib-cmdline
1 parent 4752ebf commit 2037dc9

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let
3232

3333
haskellDeps = pkgs.recurseIntoAttrs {
3434
# #filepath = haskellPkgs.filepath_1_4_0_0;
35-
# filepath = callPackage ./nix/filepath.nix {};
35+
#filepath = callPackage ./nix/filepath.nix {};
3636
transformers =
3737
if pkgs.stdenv.lib.versionOlder haskellPkgs.ghc.version "7.7"
3838
then haskellPkgs.transformers_0_3_0_0

gitlib-cmdline/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
, hspec-expectations, monad-control, mtl, old-locale, parsec
44
, process-extras, shelly, stdenv, system-filepath, tagged, text
55
, time, time-locale-compat, transformers, transformers-base
6-
, unordered-containers
6+
, unordered-containers, git
77
}:
88
mkDerivation {
99
pname = "gitlib-cmdline";
@@ -18,7 +18,7 @@ mkDerivation {
1818
];
1919
testDepends = [
2020
base gitlib gitlib-test hspec hspec-expectations system-filepath
21-
tagged text transformers
21+
tagged text transformers git
2222
];
2323
description = "Gitlib repository backend that uses the git command-line tool";
2424
license = stdenv.lib.licenses.mit;

nix/filepath.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ mkDerivation, base, QuickCheck, random, stdenv }:
2+
mkDerivation {
3+
pname = "filepath";
4+
version = "1.3.0.2";
5+
revision = "2";
6+
sha256 = "0wvvz6cs5fh4f04a87b9s7xrnzypmnzzkn149p6xk8xi7gcvcpy2";
7+
editedCabalFile = "42c2b0c550f4c73d044f186a58e34285632705b6936dc24fb6012eb10bf70cc7";
8+
buildDepends = [ base ];
9+
testDepends = [ base QuickCheck random ];
10+
homepage = "http://www-users.cs.york.ac.uk/~ndm/filepath/";
11+
description = "Library for manipulating FilePaths in a cross platform way";
12+
license = stdenv.lib.licenses.bsd3;
13+
}

0 commit comments

Comments
 (0)