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:
parent
c81a2e6a1e
commit
7cc5d84cd7
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue