cryptsetup: move NIX_LDFLAGS into env for structuredAttrs (#488505)
This commit is contained in:
@@ -56,7 +56,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace tests/unit-utils-io.c --replace "| O_DIRECT" ""
|
||||
'';
|
||||
|
||||
NIX_LDFLAGS = lib.optionalString (stdenv.cc.isGNU && !stdenv.hostPlatform.isStatic) "-lgcc_s";
|
||||
env = lib.optionalAttrs (stdenv.cc.isGNU && !stdenv.hostPlatform.isStatic) {
|
||||
NIX_LDFLAGS = "-lgcc_s";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
"--with-crypto_backend=openssl"
|
||||
|
||||
Reference in New Issue
Block a user