3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv/generic
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
..
builder.sh
check-meta.nix check-meta(hasUnsupportedPlatform): use lib.meta.availableOn 2023-01-11 19:31:52 +00:00
common-path.nix stdenv/common-path.nix: move to stdenv/generic/ 2022-07-29 18:24:00 -04:00
default-builder.sh
default.nix stdenv.tests: Add succeedOnFailure 2022-11-14 19:03:35 +01:00
make-derivation.nix splice.nix: start deprecating nativeDrv and crossDrv 2022-11-19 00:04:54 +02:00
setup.sh stdenv: fix succeedOnFailure 2022-11-12 19:25:14 +01:00