mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nix: Replace meta.available checks
This sort of code breaks config.{allowBroken, allowUnsupportedSystem} = true by making them do unpredictable things.
This commit is contained in:
parent
fe7919f7a1
commit
cdeafe7cdf
@ -5,7 +5,7 @@
|
||||
, storeDir ? "/nix/store"
|
||||
, stateDir ? "/nix/var"
|
||||
, confDir ? "/etc"
|
||||
, withLibseccomp ? libseccomp.meta.available, libseccomp
|
||||
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms, libseccomp
|
||||
, withAWS ? stdenv.isLinux || stdenv.isDarwin, aws-sdk-cpp
|
||||
}:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user