mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 22:37:35 +00:00
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 New Issue
Block a user