3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
Adam Joseph 098c6b0bec check-meta(hasUnsupportedPlatform): use lib.meta.availableOn
`hasUnsupportedPlatform` was not updated with #37395, so it does not
understand attrsets in `meta.[bad]platforms`.  In particular,
attrsets in `meta.badPlatforms` will "fail open" and be ignored.

Let's use `lib.meta.availableOn` instead of duplicating its logic.

Thanks to @alyssais for [noticing][1].

[1][https://github.com/NixOS/nixpkgs/pull/194148#discussion_r990817610]

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2023-01-11 19:31:52 +00:00
..
cross
custom
cygwin
darwin
freebsd
generic check-meta(hasUnsupportedPlatform): use lib.meta.availableOn 2023-01-11 19:31:52 +00:00
linux stdenv/linux: document some tips in debugging stdenv bootstrap tower 2023-01-02 21:55:32 +00:00
native
nix
tests
adapters.nix
booter.nix
default.nix