diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2020-02-10 18:06:54 -0500 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-02-11 07:46:23 +0100 |
commit | 7cc5d84cd79c31db524acd31556cf97675e7596d (patch) | |
tree | 070fca777207e4be6b4e04791b682ea249696a4a /pkgs/development/libraries/libtasn1 | |
parent | c81a2e6a1ee5cc4f4571b480599af9e33da70353 (diff) |
libtasn1: fix on darwin
Test binaries are linked to the libraries at their install path, but
those are not installed when checkPhase executes.
Diffstat (limited to 'pkgs/development/libraries/libtasn1')
-rw-r--r-- | pkgs/development/libraries/libtasn1/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libtasn1/default.nix b/pkgs/development/libraries/libtasn1/default.nix index 215d67dc0b10..d266817c5d77 100644 --- a/pkgs/development/libraries/libtasn1/default.nix +++ b/pkgs/development/libraries/libtasn1/default.nix @@ -14,6 +14,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ texinfo perl ]; doCheck = true; + preCheck = if stdenv.isDarwin then + "export DYLD_LIBRARY_PATH=`pwd`/lib/.libs" + else + null; meta = with stdenv.lib; { homepage = https://www.gnu.org/software/libtasn1/; |