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 stdenv/cross: remove now-redundant file nativeBuildInput on mingw 2022-06-06 11:26:46 -07:00
custom
cygwin
darwin darwin.apple_sdk_11_0: use stdenv objc4 2022-09-20 12:14:49 +02:00
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 stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
tests stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
adapters.nix stdenv: remove deprecated adapters 2022-08-26 16:25:44 +02:00
booter.nix
default.nix stdenv: Simplify dispatch 2022-07-29 18:34:02 -04:00