nixpkgs/lib
Artturin 8c1b0192c5 lib/sources: remove 2 usages of toString on a path which will be read using fileContents
It gives a warning on the lazy-trees branch of Nix
(NixOS/nix#6530)

"warning: applying 'toString' to path '...' and then accessing it is deprecated, at '...'"

'else toString (/. + "${base}/${path}");' at line 183 may still cause a warning but i don't know how
to reach that codepath and test so im leaving it untouched

changing it to 'else /. + "${base}/${path}";'
caused this error
```
error: a string that refers to a store path cannot be appended to a path

       at /home/systems/nixpkgs/lib/sources.nix:183:20:

          182|               then path
          183|               else /. + "${base}/${path}";
             |                    ^
          184|         in if pathIsRegularFile path
```
2022-11-06 19:41:52 +02:00
..
systems lib/systems/default.nix: add efiArch suffixes 2022-09-29 08:02:35 +00:00
tests lib/tests/modules: Test doRename 2022-11-03 13:12:58 +01:00
ascii-table.nix lib.strings: Add function to convert character to number 2022-10-20 18:58:44 +02:00
asserts.nix
attrsets.nix unionOfDisjoint: use builtins.intersectAttrs 2022-09-25 00:09:15 -07:00
cli.nix
customisation.nix
debug.nix
default.nix lib/strings: Refactor toInt into toInt and toIntBase10 2022-10-23 17:50:24 -04:00
deprecated.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
derivations.nix lib: Add lazyDerivation 2022-09-21 10:55:07 +01: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 treewide: optional -> optionals where the argument is a list 2022-10-10 15:40:21 +03:00
kernel.nix
licenses.nix arkpandora_ttf: add license 2022-11-02 22:53:58 +01:00
lists.nix
meta.nix
minver.nix
modules.nix lib.modules.doRename: Don't define warning, even as undefined, if not warning. 2022-11-03 13:12:58 +01:00
options.nix lib/options/showOption: fix quoting of attr-names that are not identifiers 2022-10-07 10:09:03 +02:00
source-types.nix
sources.nix lib/sources: remove 2 usages of toString on a path which will be read using fileContents 2022-11-06 19:41:52 +02:00
strings-with-deps.nix
strings.nix Merge pull request #173949 from jacoblambda/fix-toInt-zero-padding 2022-10-24 13:22:42 +02:00
trivial.nix lib/trivial: fix 'error: cannot decode virtual path '/nix/store/virtual0000000000000000000000005-source'' 2022-11-06 07:04:53 +02:00
types.nix Merge pull request #194035 from Ma27/show-option-quoting 2022-10-18 11:31:54 +02:00
versions.nix
zip-int-bits.nix