git-annex: crypto test no longer fails on darwin

This commit is contained in:
sternenseemann 2024-04-21 23:37:32 +02:00
parent cdedb41039
commit 69e0d2cb42
1 changed files with 0 additions and 8 deletions

View File

@ -741,14 +741,6 @@ self: super: builtins.intersectAttrs super {
executableSystemDepends = runtimeExecDeps;
enableSharedExecutables = false;
# This is an instance of https://github.com/NixOS/nix/pull/1085
# Fails with:
# gpg: can't connect to the agent: File name too long
postPatch = pkgs.lib.optionalString pkgs.stdenv.isDarwin ''
substituteInPlace Test.hs \
--replace ', testCase "crypto" test_crypto' ""
'' + (drv.postPatch or "");
preConfigure = drv.preConfigure or "" + ''
export HOME=$TEMPDIR
patchShebangs .