mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
libgcrypt: fix test crash on Darwin
This commit is contained in:
parent
881fd7f589
commit
34c092b114
@ -22,6 +22,13 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's,\(-lcap\),-L${libcap}/lib \1,' $out/lib/libgcrypt.la
|
||||
'';
|
||||
|
||||
# TODO: figure out why this is even necessary and why the missing dylib only crashes
|
||||
# random instead of every test
|
||||
preCheck = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/lib
|
||||
cp src/.libs/libgcrypt.20.dylib $out/lib
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user