Farid Zakaria
8839bab84d
shellcheck fix: completion files
2025-09-26 08:41:30 -07:00
Farid Zakaria
f8e351cd94
shellcheck fix: tests/functional/fixed
2025-09-26 08:41:30 -07:00
Farid Zakaria
4cec876319
shellcheck fix: tests/functional/fetchMercurial.sh
2025-09-26 08:41:30 -07:00
Farid Zakaria
c4c3524318
shellcheck fix: tests/functional/fetchGitVerification.sh
2025-09-26 08:41:29 -07:00
Farid Zakaria
53ad2433b4
shellcheck fix: tests/functional/fetchGitSubmodules.sh
2025-09-25 13:09:36 -07:00
Farid Zakaria
ea035ae165
shellcheck fix: tests/tests/functional/dump-db.sh
2025-09-25 13:07:41 -07:00
John Ericson
89141f1d67
Merge pull request #14082 from fzakaria/fzakaria/shellcheck-multiple
...
shellcheck: multiple file fixes
2025-09-25 15:59:43 -04:00
Farid Zakaria
1619409bf2
shellcheck fix: tests/functional/fetchGitRefs.sh
2025-09-25 12:45:43 -07:00
Farid Zakaria
32e1b5209b
shellcheck fix: tests/functional/fetchGit.sh
2025-09-25 12:45:43 -07:00
Farid Zakaria
d07dd92db3
shellcheck fix: tests/functional/fetchClosure.sh
2025-09-25 12:45:43 -07:00
Farid Zakaria
230da1cbe7
shellcheck fix: tests/functional/export.sh
2025-09-25 12:45:40 -07:00
Farid Zakaria
9e3c502521
shellcheck fix: tests/functional/extra-sandbox-profile.sh
2025-09-25 10:35:26 -07:00
Farid Zakaria
a209748ec0
shellcheck fix: tests/functional/export-graph.sh
2025-09-25 10:35:01 -07:00
Farid Zakaria
b8c24cdaef
shellcheck fix: tests/functional/eval-store.sh
2025-09-25 10:33:40 -07:00
Jörg Thalheim
e3d62f35ea
Merge pull request #14075 from fzakaria/fzakaria/shellcheck-functional-dump-db
...
shellcheck fix functional/dump-db.sh
2025-09-25 19:31:49 +02:00
Farid Zakaria
dc69e2e520
shellcheck fix: tests/functional/dyn-drv/recursive-mod-json.sh
2025-09-25 10:31:06 -07:00
Farid Zakaria
119489f253
shellcheck fix: tests/functional/dyn-drv/old-daemon-error-hack.sh
2025-09-25 10:30:03 -07:00
Farid Zakaria
412e51215f
shellcheck fix: functional/dyn-drv/eval-outputOf.sh
2025-09-25 10:29:27 -07:00
John Ericson
46095284f1
Merge pull request #14080 from NixOS/storeFS-prep
...
Some `storeFS` and similar cleanup
2025-09-25 10:50:25 -04:00
Jörg Thalheim
099a74e9f4
Merge pull request #14041 from getchoo-contrib/getchoo/cache-substituted-inputs
...
libfetchers: avoid re-copying substituted inputs
2025-09-25 13:27:02 +02:00
Seth Flynn
74305d5260
libfetchers: avoid re-copying substituted inputs
...
Previously, Nix would not create a cache entry for substituted/cached
inputs
This led to severe slowdowns in some scenarios where a large input (like
Nixpkgs) had already been unpacked to the store but didn't exist in a
users cache, as described in https://github.com/NixOS/nix/issues/11228
Using the same method as https://github.com/NixOS/nix/pull/12911 , we can
create a cache entry for the fingerprint of substituted/cached inputs
and avoid this problem entirely
2025-09-25 04:04:57 -04:00
Jörg Thalheim
534b29068a
Merge pull request #14071 from fzakaria/fzakaria/shellcheck-functional-db-migration
...
shellcheck fix functional/db-migration.sh
2025-09-25 09:44:09 +02:00
Jörg Thalheim
697c704f28
Merge branch 'master' into fzakaria/shellcheck-functional-db-migration
2025-09-25 09:26:32 +02:00
Farid Zakaria
6e2c11e296
shellcheck fix functional/dump-db.sh
...
Add back the path variable
2025-09-25 09:24:39 +02:00
Jörg Thalheim
bdd3eb400a
Merge pull request #14030 from roberth/c-api-item-access
...
C API: Various improvements to attribute/item access
2025-09-25 09:06:11 +02:00
John Ericson
ae896bebdf
Merge pull request #14067 from fzakaria/fzakaria/shellcheck-systemd-multi-user
...
shellcheck fix scipts/install-systemd-multi-user.sh
2025-09-25 02:50:40 -04:00
Jörg Thalheim
eb04a6d3e3
Merge pull request #14079 from obsidiansystems/clean-up-why-depends
...
Clean up `nix why-depends` store accessor usage, and put back store dir in output
2025-09-25 08:49:12 +02:00
Jörg Thalheim
a08ae1d024
doc: Add release notes for C API lazy accessors
2025-09-25 08:45:32 +02:00
Jörg Thalheim
1877c477fc
Merge branch 'master' into fzakaria/shellcheck-functional-db-migration
2025-09-25 08:35:45 +02:00
Jörg Thalheim
6dcfce0450
Merge branch 'master' into fzakaria/shellcheck-systemd-multi-user
2025-09-25 08:35:10 +02:00
Jörg Thalheim
ed3f847225
Merge pull request #14051 from NixOS/atomic-counters
...
Atomic statistics counters
2025-09-25 08:24:37 +02:00
John Ericson
2898dbe2d9
Merge pull request #14073 from fzakaria/fzakaria/shellcheck-functional-dependencies.builder0
...
shellcheck fix functional/dependencies.builder0.sh
2025-09-25 02:10:14 -04:00
Eelco Dolstra
e8f951289f
EvalState: Don't maintain stats by default
...
These counters are extremely expensive in a multi-threaded
program. For instance, disabling them speeds up evaluation of the
NixOS/nix/2.21.2 from 32.6s to 17.8s.
2025-09-25 08:03:24 +02:00
Eelco Dolstra
8d257f5510
EvalState: Make the counters atomic
2025-09-25 08:03:24 +02:00
Jörg Thalheim
a6fcca3888
Merge branch 'master' into fzakaria/shellcheck-functional-db-migration
2025-09-25 07:54:43 +02:00
Farid Zakaria
e15c44d46b
shellcheck fix functional/db-migration.sh
2025-09-25 07:53:29 +02:00
Jörg Thalheim
f3416913d4
Merge pull request #14069 from fzakaria/fzakaria/shellcheck-compute-levels
...
shellcheck fix for functional/compute-levels.sh
2025-09-25 07:52:56 +02:00
John Ericson
7f9867b548
Merge pull request #14076 from fzakaria/fzakaria/shellcheck-functional-dyn-drv-build-built-drv
...
shellcheck fix functional/dyn-drv/build-built-drv.sh
2025-09-25 01:51:21 -04:00
Jörg Thalheim
8ff5aeb367
Merge pull request #14065 from obsidiansystems/realisation-json-unit-test
...
Add JSON tests for `Realisation`
2025-09-25 07:42:15 +02:00
Jörg Thalheim
3076cc9e84
Merge branch 'master' into fzakaria/shellcheck-systemd-multi-user
2025-09-25 07:40:27 +02:00
Jörg Thalheim
31695f3690
Merge branch 'master' into fzakaria/shellcheck-compute-levels
2025-09-25 07:39:25 +02:00
Jörg Thalheim
a534a27571
Merge branch 'master' into fzakaria/shellcheck-functional-dependencies.builder0
2025-09-25 07:37:30 +02:00
Jörg Thalheim
5d6af1243a
Merge branch 'master' into fzakaria/shellcheck-functional-dyn-drv-build-built-drv
2025-09-25 07:35:10 +02:00
John Ericson
9b2f282af5
Simplify the definition of rootFS
...
It was getting very hard to follow.
2025-09-25 00:14:14 -04:00
Eelco Dolstra
35189c0ae0
Expose the fact that storeFS is a MountedSourceAccessor
...
This will become useful.
2025-09-25 00:14:14 -04:00
John Ericson
8ef70ef522
Rename one overload to allowPathLegacy
...
Makes it easier to tell when it is isued.
2025-09-25 00:14:14 -04:00
Eelco Dolstra
339338e166
MountedSourceAccessor: Move into a separate header, add mount method
2025-09-25 00:14:14 -04:00
Farid Zakaria
bc13130497
shellcheck fix tests/functional/dyn-drv/dep-built-drv.sh ( #14078 )
2025-09-25 03:28:16 +00:00
John Ericson
d26dee20b2
Clean up nix why-depends store accessor usage, and put back store dir in output
...
With this change, the store-wide `getFSAccessor` has only one usage left
--- the evaluator. If we get rid of that (as is planned), we can then
remove that method altogether, simplifying `Store`. Hurray!
I removed the store dir by mistake from the pretty-printed (for humans)
output in eb643d034f . That change was not
supposed to change output.
2025-09-24 23:06:03 -04:00
John Ericson
d1958e1b2c
Merge pull request #14066 from fzakaria/fzakaria/shellcheck-install-multi-user
...
shellcheck fix scripts/install-multi-user.sh
2025-09-24 23:00:16 -04:00