From 5d6c76dd50344753c611b0e73d705695e5c6cfca Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 14 May 2017 12:26:08 +0200 Subject: [PATCH] git-annex: make sure the test suite runs with git-annex-shell in $PATH --- pkgs/development/haskell-modules/hackage-packages.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index f7969b977a4..1ad74866c1d 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";