Merge pull request #82945 from Mic92/libffi-musl
libffi: fix musl tests
This commit is contained in:
commit
9cc135d7ba
@ -1,9 +1,6 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch
|
{ stdenv, fetchurl, fetchpatch
|
||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
|
|
||||||
# libffi is used in darwin and linux with glibc stdenv
|
|
||||||
# we cannot run checks within it
|
|
||||||
, doCheck ? stdenv.hostPlatform.isMusl, dejagnu
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -28,10 +25,6 @@ stdenv.mkDerivation rec {
|
|||||||
NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}
|
NIX_HARDENING_ENABLE=''${NIX_HARDENING_ENABLE/fortify/}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
checkInputs = [ dejagnu ];
|
|
||||||
|
|
||||||
inherit doCheck;
|
|
||||||
|
|
||||||
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling.
|
dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling.
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user