1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libtasn1: fix on darwin

Test binaries are linked to the libraries at their install path, but
those are not installed when checkPhase executes.
This commit is contained in:
Dmitry Kalinkin 2020-02-10 18:06:54 -05:00 committed by Frederik Rietdijk
parent c81a2e6a1e
commit 7cc5d84cd7

View file

@ -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/;