strace: fix libunwind detection by fixing use of lib.optional (#40994)
This commit is contained in:
parent
1e225e6481
commit
4bf6889876
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = stdenv.lib.optional libunwind.supportsHost [ libunwind ]; # support -k
|
||||
buildInputs = stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
||||
|
||||
configureFlags = stdenv.lib.optional (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isRiscV) "--enable-mpers=check";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user