Skip to content

Commit

Permalink
Merge pull request #247414 from amjoseph-nixpkgs/pr/meta.availableOn/…
Browse files Browse the repository at this point in the history
…ceph
  • Loading branch information
Artturin authored Aug 28, 2023
2 parents 2dd2262 + dc028fd commit 9815bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/filesystems/ceph/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9815bda

Please sign in to comment.