1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-17 07:52:43 +01:00
nix/src/libutil
Sergei Zimmerman a38ebdd511
libfetchers: Restore path separator ignoring behavior for indirect and git-archive flakerefs
Old versions of nix happily accepted a lot of weird flake references,
which we didn't have tests for, so this was accidentally broken in
c436b7a32a.

This patch restores previous behavior and adds a plethora of tests
to ensure we don't break this in the future.

These test cases are aligned with how 2.18/2.28 parsed flake references.
2025-08-30 14:40:56 +03:00
..
freebsd meson: Get rid of multiline array formatting hack 2025-08-07 02:57:02 +03:00
include/nix/util libfetchers: Restore path separator ignoring behavior for indirect and git-archive flakerefs 2025-08-30 14:40:56 +03:00
linux meson: Get rid of multiline array formatting hack 2025-08-07 02:57:02 +03:00
pch libutil: Speed up builds by using precompiled headers 2025-07-20 22:01:51 +03:00
signature libutil: Fix i686-linux build on clangStdenv 2025-08-12 22:48:15 +03:00
unix meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
widecharwidth Apply clang-format universally. 2025-07-18 12:47:27 -04:00
windows meson: Get rid of multiline array formatting hack 2025-08-07 02:57:02 +03:00
.version Build nix-util with Meson 2024-06-12 18:31:02 -04:00
archive.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
args.cc treewide: Sprinkle more anonymous namespace for classes private to TUs 2025-08-05 02:25:40 +03:00
base-n.cc Clean up Base* code 2025-08-06 11:51:44 -04:00
base-nix-32.cc Clean up Base* code 2025-08-06 11:51:44 -04:00
canon-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
compression.cc Merge pull request #13684 from the-sun-will-rise-tomorrow/identity-compression 2025-08-05 14:07:01 +02:00
compute-levels.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
config-global.cc libutil: Make AbstractConfig::getSettings const 2025-08-11 20:44:23 +03:00
configuration.cc libutil: Make AbstractConfig::getSettings const 2025-08-11 20:44:23 +03:00
current-process.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
english.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
environment-variables.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
error.cc libutil: Use std::source_location for unreachable 2025-08-29 00:21:07 +03:00
executable-path.cc Drop fs alias in favour of std::filesystem 2025-05-01 14:24:34 +02:00
exit.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
experimental-features.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
file-content-address.cc libutil: Make HashResult a proper struct 2025-08-08 02:06:14 +03:00
file-descriptor.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
file-system.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
fs-sink.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
git.cc libutil: Make HashResult a proper struct 2025-08-08 02:06:14 +03:00
hash.cc Inline printHash16or32 and remove redundant helper (#13716) 2025-08-08 11:47:47 -04:00
hilite.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
json-utils.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
logging.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
memory-source-accessor.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
meson.build treewide: Bump C++ standard version to C++23 2025-08-19 15:33:27 +03:00
meson.options meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
mounted-source-accessor.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
package.nix flake: Apply nixfmt 1.0.0 2025-08-18 20:29:45 +03:00
pos-table.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
position.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
posix-source-accessor.cc Merge branch 'master' (reformat) 2025-07-23 21:22:27 +02:00
serialise.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
source-accessor.cc libutil: Make HashResult a proper struct 2025-08-08 02:06:14 +03:00
source-path.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
strings.cc treewide: Use StringSet alias consistently instead of std::set<std::string> 2025-05-02 17:40:29 +00:00
subdir-source-accessor.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
suggestions.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
tarfile.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
tee-logger.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
terminal.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
thread-pool.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
union-source-accessor.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
unix-domain-socket.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
url.cc Fix ParsedURL handling of %2F in URL paths 2025-08-28 22:20:04 +03:00
users.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00
util.cc Clean up Base* code 2025-08-06 11:51:44 -04:00
xml-writer.cc Apply clang-format universally. 2025-07-18 12:47:27 -04:00