nixpkgs/lib
Naïm Favier 4df10debe7
lib/customisation.overrideDerivation: propagate evaluation condition
The new derivation should evaluate only if the old derivation does.

Sadly this means that the old derivation cannot depend on the new one
any more, which was used by xorgserver on Darwin. But this is not a
problem as `overrideAttrs` can (and should) usually be used instead.

This change allowed catching an invalid `meta.platforms` in the linux_rpi
kernels, which use `overrideDerivation`.
2023-01-01 14:10:42 +01:00
..
systems lib: fix typos 2022-12-17 18:59:29 -05:00
tests lib/versions: add pad 2022-12-21 12:58:21 +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 attrsets: fix and add some doc types 2022-12-24 14:08:11 +01:00
cli.nix lib/cli: mkKey -> mkOptionName, use generators.mkValueStringDefault 2020-01-23 14:47:38 +01:00
customisation.nix lib/customisation.overrideDerivation: propagate evaluation condition 2023-01-01 14:10:42 +01:00
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix lib: Add isStringLike 2022-12-31 01:47:28 +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 lib.compose{Many,}Extensions: Make compatible with nix flake check 2021-08-26 09:12:17 -04:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix lib.generators.toPretty: Add attribute name to error context 2022-12-10 23:36:46 +01:00
kernel.nix Merge pull request #84032 from teto/fix_kernel_merge 2020-05-22 13:32:22 +02:00
licenses.nix linuxdoc-tools: init at 0.9.82 2022-12-28 00:17:27 +01:00
lists.nix Fix a typo in the lib.foldr docstring 2022-08-20 23:58:57 +01:00
meta.nix lib/meta: add getExe to get the main program of a drv 2022-04-24 04:19:49 +03:00
minver.nix boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
modules.nix lib: fix typos 2022-12-17 18:59:29 -05:00
options.nix attrsets: fix and add some doc types 2022-12-24 14:08:11 +01:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib/sources: make commitIdFromGitRepoOrError internal and use # for comments 2022-11-18 17:17:51 +02:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix lib.isStringLike: Remove use of list 2022-12-31 01:33:47 +01:00
trivial.nix Merge pull request #202370 from Artturin/revertpartof1 2022-11-22 19:49:35 +02: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 lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00