nixpkgs/lib
Adam Joseph 037cf2fad1 unionOfDisjoint: use builtins.intersectAttrs
This brings two benefits:

1. The complete list of collisions is printed in the whenever any colliding
   attribute is accessed.

2. The sets are intersected using a C++ primitive, which runs in O(n) time
   (intersecting pre-sorted lists) with small constants rather than interpreted
   Nix code.

Thanks to @toonn for prompting this improvement.
2022-09-25 00:09:15 -07:00
..
systems lib/systems: uname.processor is "uname -m", not "uname -p" (#189958) 2022-09-06 10:17:09 -05:00
tests Merge pull request #188289 from erikarvstedt/fix-disabled-modules-abs-paths 2022-08-31 15:27:03 +02:00
asserts.nix
attrsets.nix unionOfDisjoint: use builtins.intersectAttrs 2022-09-25 00:09:15 -07:00
cli.nix
customisation.nix lib/customization: Improve callPackage error message for missing args 2022-04-01 22:03:05 +02:00
debug.nix
default.nix lib/options: Add showOptionWithDefLocs 2022-06-21 14:22:33 +02:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix lib/generators: withRecursion: don't break attr-sets with special attrs 2022-04-12 12:34:23 +02:00
kernel.nix
licenses.nix Merge pull request #161118 from arkivm/init-dwarf2json 2022-09-05 12:07:17 +02: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 Merge branch 'master' into option-docs-md 2022-09-01 16:10:09 +02:00
options.nix lib/options: deprecate docbook text and literalDocBook 2022-09-10 18:23:13 +02:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib.sources: Improve docs 2022-01-30 02:04:51 +01:00
strings-with-deps.nix
strings.nix lib/strings/toShellVars: handle derivations as strings 2022-05-07 17:01:51 +02:00
trivial.nix lib/trivial: Update oldestSupportedRelease 2022-07-04 20:07:44 +02:00
types.nix Merge pull request #181834 from ncfavier/numbers 2022-09-09 19:59:29 +02:00
versions.nix
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00