Bernardo Meurer Costa
689fa81dc9
feat(libstore/http-binary-cache-store): narinfo/ls/log compression
2025-09-29 21:53:40 +00:00
Sergei Zimmerman
823c0d1140
Merge pull request #14118 from xokdvium/fix-make-empty-source-accessor
...
libutil: Create empty directory at the root for makeEmptySourceAccessor
2025-09-29 21:19:02 +00:00
Taeer Bar-Yam
f70b0b599c
libexpr: allocate ExprPath strings in the allocator
2025-09-29 17:02:05 -04:00
Sergei Zimmerman
1830f5f967
libutil: Create empty directory at the root for makeEmptySourceAccessor
...
This is my SNAFU. Accidentally broken in 02c9ac445f .
There's very dubious behavior for 'builtins.readDir /.':
{
outputs =
{ ... }:
{
lib.a = builtins.readDir /.;
};
}
nix eval /tmp/test-flake#lib.a
Starting from 2.27 this now returns an empty set. This really isn't supposed
to happen, but this change in the semantics of makeEmptySourceAccessor accidentally
changed the behavior of this.
2025-09-29 23:16:28 +03:00
Jörg Thalheim
13a236ba29
Merge pull request #14114 from fzakaria/fzakaria/shellcheck-multiple-4
...
shellcheck fixes continued
2025-09-29 21:32:19 +02:00
Farid Zakaria
ef17baf50d
shellcheck fix: tests/functional/parallel.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
4dc5dbaba2
shellcheck fix: tests/functional/parallel.builder.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
c09cf33a3a
shellcheck fix: tests/functional/output-normalization.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
32818483a5
shellcheck fix: tests/functional/optimise-store.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
375529c7e5
shellcheck fix: tests/functional/nix_path.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
fe4e476d13
shellcheck fix: tests/functional/nix-shell.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
78833ca8d0
shellcheck fix: tests/functional/nix-profile.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
cf206ef61e
shellcheck fix: tests/functional/nix-daemon-untrusting.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
8c2664ed15
shellcheck fix: tests/functional/nix-copy-ssh.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
ca7414cd18
shellcheck fix: tests/functional/nix-copy-ssh-ng.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
c9fd721be9
shellcheck fix: tests/functional/nix-copy-ssh-common.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
83e203fe45
shellcheck fix: tests/functional/nix-collect-garbage-d.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
2b1a0963f9
shellcheck fix: tests/functional/nix-channel.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
2bfc9019fa
shellcheck fix: tests/functional/nix-build.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
794723142b
shellcheck fix: tests/functional/nested-sandboxing/command.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
1a71c1ef9f
shellcheck fix: tests/functional/nested-sandboxing.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
e26b0c66b0
shellcheck fix: tests/functional/multiple-outputs.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
f2eef5b0a4
shellcheck fix: tests/functional/misc.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
5a13f9fc91
shellcheck fix: tests/functional/logging.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
c4da98c8f4
shellcheck fix: tests/functional/linux-sandbox.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
5341d82428
shellcheck fix: tests/functional/legacy-ssh-store.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
f702101224
shellcheck fix: tests/functional/install-darwin.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
78d9a8d92b
shellcheck fix: tests/functional/impure-eval.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
1cd96f22c0
shellcheck fix: tests/functional/impure-derivations.sh
2025-09-29 10:52:17 -07:00
Farid Zakaria
f3a2876c3a
shellcheck fix: tests/functional/hash-convert.sh
2025-09-29 10:52:16 -07:00
Robert Hensing
8a968c599d
Merge pull request #14116 from fzakaria/fzakaria/shellcheck-multiple-5
...
shellcheck fixes CA functional tests
2025-09-29 19:48:05 +02:00
Farid Zakaria
4232cb045a
Remaining functional/ca tests for shellcheck
2025-09-29 10:25:49 -07:00
Farid Zakaria
5846d9d4dc
shellcheck fix: tests/functional/ca/build-dry.sh
2025-09-29 10:12:04 -07:00
Farid Zakaria
745d1f9519
shellcheck fix: tests/functional/ca/build-delete.sh
2025-09-29 10:11:29 -07:00
Jörg Thalheim
fca6d8f1cc
Merge pull request #14112 from EphraimSiegfried/make-content-addressed-doc-fix
...
docs: fix build command in make-content-addressed.md
2025-09-29 18:45:14 +02:00
Farid Zakaria
52b9fb38e0
shellcheck fix: tests/functional/gc-non-blocking.sh
2025-09-29 09:23:41 -07:00
Farid Zakaria
2e5952fb6a
shellcheck fix: tests/functional/gc-concurrent2.builder.sh
2025-09-29 09:22:45 -07:00
Farid Zakaria
75df03204b
shellcheck fix: tests/functional/gc-concurrent.sh
2025-09-29 09:21:47 -07:00
Farid Zakaria
613bd67574
shellcheck fix: tests/functional/gc-concurrent.builder.sh
2025-09-29 09:20:02 -07:00
Farid Zakaria
4192ca9131
shellcheck fix: tests/functional/gc-auto.sh
2025-09-29 09:18:50 -07:00
Farid Zakaria
08a82f4682
shellcheck fix: tests/functional/formatter.simple.sh
2025-09-29 09:17:24 -07:00
Farid Zakaria
f596c9b8c3
shellcheck fix: tests/functional/flakes/show.sh
2025-09-29 09:16:29 -07:00
Farid Zakaria
cb22518754
shellcheck fix: tests/functional/flakes/run.sh
2025-09-29 09:15:11 -07:00
Farid Zakaria
020f67a653
shellcheck fix: tests/functional/flakes/prefetch.sh
2025-09-29 09:14:41 -07:00
Ephraim Siegfried
121dda0f1f
docs: fix build command in make-content-addressed.md
2025-09-29 14:07:26 +02:00
Jörg Thalheim
b6f4788a8f
Merge pull request #14110 from Mic92/ptsname
...
Fix thread-safety issue with ptsname() usage
2025-09-29 13:49:58 +02:00
Jörg Thalheim
f816b9bcb8
Merge pull request #14111 from Mic92/symlinks
...
Prevent infinite symlink loop in followLinksToStore()
2025-09-29 13:49:19 +02:00
Jörg Thalheim
5ec9138179
Prevent infinite symlink loop in followLinksToStore()
...
The followLinksToStore() function could hang indefinitely when encountering
symlink cycles outside the Nix store, causing 100% CPU usage and blocking
any operations that use this function.
This affects multiple commands including nix-store --query, --delete,
--verify, nix-env, and nix-copy-closure when given paths with symlink cycles.
The fix adds a maximum limit of 1024 symlink follows (matching the limit
used by canonPath) and throws an error when exceeded, preventing the
infinite loop while preserving the original semantics of stopping at
the first path inside the store.
2025-09-29 12:22:43 +02:00
Jörg Thalheim
a9ffa42dda
Fix thread-safety issue with ptsname() usage
...
Replace non-thread-safe ptsname() calls with a new getPtsName() helper
function that:
- Uses thread-safe ptsname_r() on Linux/BSD platforms
- Uses mutex-protected ptsname() on macOS (which lacks ptsname_r())
2025-09-29 12:01:49 +02:00
Eelco Dolstra
b0431a76f5
Merge pull request #14058 from DeterminateSystems/upstream-RossComputerGuy/feat/expose-logfmt
...
C API: add log format and verbosity functions
2025-09-29 11:21:43 +02:00