3
0
Fork 0
forked from mirrors/nixpkgs
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
customisation.nix lib/customisation.overrideDerivation: propagate evaluation condition 2023-01-01 14:10:42 +01:00
debug.nix
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
flake.nix
generators.nix lib.generators.toPretty: Add attribute name to error context 2022-12-10 23:36:46 +01:00
kernel.nix
licenses.nix linuxdoc-tools: init at 0.9.82 2022-12-28 00:17:27 +01:00
lists.nix
meta.nix
minver.nix
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
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 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