lol

Merge pull request #247414 from amjoseph-nixpkgs/pr/meta.availableOn/ceph

authored by

Artturi and committed by
GitHub
9815bda2 2dd22620

+1 -1
+1 -1
pkgs/tools/filesystems/ceph/default.nix
··· 85 85 assert cryptopp != null || (nss != null && nspr != null); 86 86 87 87 let 88 - shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null; 88 + shouldUsePkg = pkg: if pkg != null && lib.meta.availableOn stdenv.hostPlatform pkg then pkg else null; 89 89 90 90 optYasm = shouldUsePkg yasm; 91 91 optExpat = shouldUsePkg expat;