3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
polykernel de81edf6ef lib/strings: fix infinite recursion on concatStringsSep fallback
The current implementation of the concatStringsSep fallback references
concatStrings whcih is just a partial application of concatStringsSep,
forming a circular dependency. Although this will almost never be
encountered as (assuming the user does not explicitly trigger it):
  1. the or operator will short circuit both in lazy and strict
     evaluation
  2. this can only occur in Nix versions prior to 1.10
     which is not compatible with various nix operations as of 2.3.15

However it is still important if scopedImport is used or the builtins
have been overwritten. lib.foldl' is used instead of builtins.foldl'
as the foldl' primops was introduced in the same release as concatStringsSep.
2021-08-26 20:08:05 -04:00
..
systems Merge pull request #134763 from r-burns/fix-scaleway 2021-08-21 03:40:30 +01:00
tests treewide: runCommandNoCC -> runCommand 2021-08-15 17:36:41 +02:00
asserts.nix
attrsets.nix lib: optimize setAttrByPath and cleaup imports 2021-08-23 18:04:47 -04:00
cli.nix
customisation.nix
debug.nix
default.nix lib: export strings/escapeRegex 2021-08-22 00:01:38 -04:00
deprecated.nix
fetchers.nix
filesystem.nix
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: Handle no drvPath in toPretty 2021-08-11 15:52:30 +02:00
kernel.nix
licenses.nix replace dead links 2021-08-26 23:14:50 +09:00
lists.nix
meta.nix
minver.nix
modules.nix lib/modules: add mkImageMediaOverride 2021-08-03 18:28:14 -05:00
options.nix lib/options: Better mergeEqualOption error for uncomparable types 2021-08-10 19:54:32 +02:00
sources.nix
strings-with-deps.nix
strings.nix lib/strings: fix infinite recursion on concatStringsSep fallback 2021-08-26 20:08:05 -04:00
trivial.nix lib: fix functionArgs for functors 2021-08-03 16:40:58 -05:00
types.nix Merge pull request #128032 from Artturin/add-swap-options 2021-07-23 10:45:53 +02:00
versions.nix
zip-int-bits.nix