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 ];
|
nativeBuildInputs = [ texinfo perl ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
preCheck = if stdenv.isDarwin then
|
||||||
|
"export DYLD_LIBRARY_PATH=`pwd`/lib/.libs"
|
||||||
|
else
|
||||||
|
null;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.gnu.org/software/libtasn1/;
|
homepage = https://www.gnu.org/software/libtasn1/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user