nixpkgs/lib
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
..
path lib/path/tests: Fix property tests when "-n" is generated 2023-01-10 14:18:35 +01:00
systems add mipsisa{32,64}r6[el], closes 209952 2023-01-09 16:04:16 -08:00
tests Merge pull request #205190 from NixOS/lib.path.relativeNormalise 2023-01-03 13:46:11 +01:00
ascii-table.nix lib.strings: Add function to convert character to number 2022-10-20 18:58:44 +02:00
asserts.nix doc: auto-generate asserts and attrset library docs 2022-12-08 22:58:22 +01:00
attrsets.nix lib: Fix mismatched quotes in lib.* doc comments 2023-01-02 08:25:17 +10:00
cli.nix
customisation.nix lib: Fix mismatched quotes in lib.* doc comments 2023-01-02 08:25:17 +10:00
debug.nix
default.nix Merge pull request #208674 from YoshiRulz/yoshi-lib-docs 2023-01-05 19:00:38 +01:00
deprecated.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
derivations.nix lib: fix typos 2022-12-17 18:59:29 -05:00
fetchers.nix
filesystem.nix lib: Automatically generate lib.filesytem docs 2022-10-26 15:10:47 +02:00
fixed-points.nix
flake.nix
generators.nix stdenv/check-meta: do deep type checks 2023-01-01 14:10:42 +01:00
kernel.nix
licenses.nix linuxdoc-tools: init at 0.9.82 2022-12-28 00:17:27 +01:00
lists.nix lib: Fix mismatched quotes in lib.* doc comments 2023-01-02 08:25:17 +10:00
meta.nix check-meta(hasUnsupportedPlatform): use lib.meta.availableOn 2023-01-11 19:31:52 +00:00
minver.nix boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
modules.nix lib/modules: make mkAliasOptionModule emit DocBook 2023-01-08 22:44:18 +01:00
options.nix modules: add mkPackageOptionMD 2023-01-05 02:33:13 +01:00
source-types.nix
sources.nix lib/sources: make commitIdFromGitRepoOrError internal and use # for comments 2022-11-18 17:17:51 +02:00
strings-with-deps.nix
strings.nix lib.isStringLike: Remove use of list 2022-12-31 01:33:47 +01:00
trivial.nix lib/trival: Bump oldestSupportedRelease to 2211 2023-01-01 14:57:25 +01:00
types.nix lib.strings: isSimpleCoercibleString -> isStringLike 2022-12-31 01:33:46 +01:00
versions.nix lib/versions: add pad 2022-12-21 12:58:21 +01:00
zip-int-bits.nix