diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2018-03-09 17:58:36 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-03-12 18:55:41 -0400 |
commit | 79d8353b5e4bb98f1b51ab32b9b26df81bb7e106 (patch) | |
tree | f19c8d4068da9cb061983271bf2f8c2b2dc2f8f7 /pkgs/os-specific/linux/ffado | |
parent | eeb8419c6a358a7b8d5a8fa9fc3d0352337196f7 (diff) |
treewide: Make `shouldUsePackages` copypasta use meta.available
The old way depended on old list-of-strings `meta.platforms`, and was
not good for cross.
Diffstat (limited to 'pkgs/os-specific/linux/ffado')
-rw-r--r-- | pkgs/os-specific/linux/ffado/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/ffado/default.nix b/pkgs/os-specific/linux/ffado/default.nix index 4e2d2b388419..4e3e373d244c 100644 --- a/pkgs/os-specific/linux/ffado/default.nix +++ b/pkgs/os-specific/linux/ffado/default.nix @@ -11,7 +11,7 @@ let - shouldUsePkg = pkg: if pkg != null && stdenv.lib.any (x: x == stdenv.system) pkg.meta.platforms then pkg else null; + shouldUsePkg = pkg: if pkg != null && pkg.meta.available then pkg else null; libOnly = prefix == "lib"; |