Merge pull request #114374 from oxalica/lib/platform-support-check
lib.meta: introduce `availableOn` to check package availability on given platform
This commit is contained in:
@@ -51,9 +51,9 @@
|
||||
, iptables
|
||||
, withSelinux ? false
|
||||
, libselinux
|
||||
, withLibseccomp ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) libseccomp.meta.platforms
|
||||
, withLibseccomp ? lib.meta.availableOn stdenv.hostPlatform libseccomp
|
||||
, libseccomp
|
||||
, withKexectools ? lib.any (lib.meta.platformMatch stdenv.hostPlatform) kexectools.meta.platforms
|
||||
, withKexectools ? lib.meta.availableOn stdenv.hostPlatform kexectools
|
||||
, kexectools
|
||||
, bashInteractive
|
||||
, libmicrohttpd
|
||||
|
||||
Reference in New Issue
Block a user