nix: add Security to build inputs.
For some reason, this is required to build nix on Big Sur, even though it's not needed on earlier macOS versions.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
, stateDir ? "/nix/var"
|
, stateDir ? "/nix/var"
|
||||||
, confDir ? "/etc"
|
, confDir ? "/etc"
|
||||||
, boehmgc
|
, boehmgc
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@@ -52,6 +53,7 @@ common =
|
|||||||
[ curl openssl sqlite xz bzip2 nlohmann_json
|
[ curl openssl sqlite xz bzip2 nlohmann_json
|
||||||
brotli boost editline
|
brotli boost editline
|
||||||
]
|
]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ Security ]
|
||||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
||||||
++ lib.optionals is24 [ libarchive gmock ]
|
++ lib.optionals is24 [ libarchive gmock ]
|
||||||
++ lib.optional withLibseccomp libseccomp
|
++ lib.optional withLibseccomp libseccomp
|
||||||
|
|||||||
@@ -28565,6 +28565,7 @@ in
|
|||||||
storeDir = config.nix.storeDir or "/nix/store";
|
storeDir = config.nix.storeDir or "/nix/store";
|
||||||
stateDir = config.nix.stateDir or "/nix/var";
|
stateDir = config.nix.stateDir or "/nix/var";
|
||||||
boehmgc = boehmgc.override { enableLargeConfig = true; };
|
boehmgc = boehmgc.override { enableLargeConfig = true; };
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
})
|
})
|
||||||
nix
|
nix
|
||||||
nixStable
|
nixStable
|
||||||
|
|||||||
Reference in New Issue
Block a user