Merge pull request #247414 from amjoseph-nixpkgs/pr/meta.availableOn/ceph
This commit is contained in:
commit
9815bda285
|
@ -85,7 +85,7 @@
|
|||
assert cryptopp != null || (nss != null && nspr != null);
|
||||
|
||||
let
|
||||
shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null;
|
||||
shouldUsePkg = pkg: if pkg != null && lib.meta.availableOn stdenv.hostPlatform pkg then pkg else null;
|
||||
|
||||
optYasm = shouldUsePkg yasm;
|
||||
optExpat = shouldUsePkg expat;
|
||||
|
|
Loading…
Reference in a new issue