about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-05-14 12:26:08 +0200
committerPeter Simons <simons@cryp.to>2017-05-14 12:26:08 +0200
commit5d6c76dd50344753c611b0e73d705695e5c6cfca (patch)
treee15d7b08cb3eaf7076d9f4895982150fbe252f78 /pkgs/development/haskell-modules
parent5052ac8d2572cd5820bc3a136e74531b15789f19 (diff)
downloadnixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar.gz
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar.bz2
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar.lz
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar.xz
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.tar.zst
nixlib-5d6c76dd50344753c611b0e73d705695e5c6cfca.zip
git-annex: make sure the test suite runs with git-annex-shell in $PATH
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index f7969b977a48..1ad74866c1d4 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -74123,9 +74123,13 @@ self: {
          bup curl git gnupg lsof openssh perl rsync wget which
        ];
        preConfigure = "export HOME=$TEMPDIR; patchShebangs .";
-       postBuild = "ln -sf dist/build/git-annex/git-annex git-annex";
        installPhase = "make PREFIX=$out BUILDER=: install";
-       checkPhase = "./git-annex test";
+       checkPhase = ''
+         ln -sf dist/build/git-annex/git-annex git-annex
+         ln -sf git-annex git-annex-shell
+         export PATH+=":$PWD"
+         git-annex test
+       '';
        enableSharedExecutables = false;
        homepage = "http://git-annex.branchable.com/";
        description = "manage files with git, without checking their contents into git";