treewide: Fix invalid string escapes

Changed files
+4 -4
pkgs
build-support
trivial-builders
pkgs-lib
formats
hocon
test
comprehensive
java-properties
libconfig
test
comprehensive
+1 -1
pkgs/build-support/trivial-builders/default.nix
···
(name: value:
{
inherit value;
-
name = lib.head (builtins.match "${builtins.storeDir}/[${nixHashChars}]+-(.*)\.drv" name);
+
name = lib.head (builtins.match "${builtins.storeDir}/[${nixHashChars}]+-(.*)\\.drv" name);
})
derivations;
# The syntax of output paths differs between outputs named `out`
+1 -1
pkgs/pkgs-lib/formats/hocon/test/comprehensive/default.nix
···
"b"
]
];
-
nasty_string = "\"@\n\\\t^*\b\f\n\0\";'''$";
+
nasty_string = "\"@\n\\\t^*bf\n0\";'''$";
"misc attrs" = {
x = 1;
+1 -1
pkgs/pkgs-lib/formats/java-properties/test/default.nix
···
);
src = lib.sourceByRegex ./. [
-
".*\.java"
+
".*\\.java"
];
# On Linux, this can be C.UTF-8, but darwin + zulu requires en_US.UTF-8
LANG = "en_US.UTF-8";
+1 -1
pkgs/pkgs-lib/formats/libconfig/test/comprehensive/default.nix
···
1
])
];
-
nasty_string = "\"@\n\\\t^*\b\f\n\0\";'''$";
+
nasty_string = "\"@\n\\\t^*bf\n0\";'''$";
weirderTypes = {
_includes = [ include_file ];