Farid Zakaria
ac5615dd91
shellcheck fix: tests/functional/flakes/config.sh
2025-09-26 08:41:30 -07:00
Farid Zakaria
26a10453c3
shellcheck fix: tests/functional/flakes/check.sh
2025-09-26 08:41:30 -07:00
Farid Zakaria
9bf8e7b730
shellcheck fix: tests/functional/flakes/absolute-paths.sh
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
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
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
Eelco Dolstra
4b9735b761
Test against uncacheable paths
...
This is to test the non-functional property that most paths should be
cacheable. We've had frequent cases where caching broken but we didn't
notice.
2025-09-25 11:30:11 -04:00
Eelco Dolstra
1d130492d7
Mount inputs on storeFS to restore fetchToStore() caching
...
fetchToStore() caching was broken because it uses the fingerprint of
the accessor, but now that the accessor (typically storeFS) is a
composite (like MountedSourceAccessor or AllowListSourceAccessor),
there was no fingerprint anymore. So fetchToStore now uses the new
getFingerprint() method to get the specific fingerprint for the
subpath.
2025-09-25 11:30:11 -04: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
1877c477fc
Merge branch 'master' into fzakaria/shellcheck-functional-db-migration
2025-09-25 08:35:45 +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
Farid Zakaria
e15c44d46b
shellcheck fix functional/db-migration.sh
2025-09-25 07:53:29 +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
Farid Zakaria
bc13130497
shellcheck fix tests/functional/dyn-drv/dep-built-drv.sh ( #14078 )
2025-09-25 03:28:16 +00:00
John Ericson
d2595130c6
Merge pull request #14074 from fzakaria/fzakaria/shellcheck-functional-dependencies
...
shellcheck fix functional/dependencies.sh
2025-09-24 22:57:09 -04:00
John Ericson
db25195bb2
Merge pull request #14077 from fzakaria/fzakaria/shellcheck-dyn-drv-common
...
shellcheck fix functional/dyn-drv/common.sh
2025-09-24 22:51:55 -04:00
John Ericson
5842aa2cac
Merge pull request #14070 from fzakaria/fzakaria/shellcheck-functional-config.sh
...
shellcheck fix functional/config.sh
2025-09-24 22:47:21 -04:00
Farid Zakaria
614ef6cfb1
shellcheck fix functional/dyn-drv/common.sh
2025-09-24 19:18:30 -07:00
Farid Zakaria
59791082fa
shellcheck fix functional/dyn-drv/build-built-drv.sh
2025-09-24 19:17:12 -07:00
Farid Zakaria
c7c74fec67
shellcheck fix functional/dependencies.sh
2025-09-24 19:11:00 -07:00
Farid Zakaria
121a8ab3ec
shellcheck fix functional/dependencies.builder0.sh
2025-09-24 19:09:21 -07:00
Farid Zakaria
832100f543
shellcheck fix functional/config.sh
2025-09-24 18:59:41 -07:00
Farid Zakaria
92f8f87dd1
shellcheck fix tests/functional/completions.sh
2025-09-24 18:56:00 -07:00
Sergei Zimmerman
97ce7759d0
libexpr: Use same naive iterative merging but with evalForUpdate
2025-09-24 21:47:59 +03:00
John Ericson
7ea31c6e56
Run multiple outputs and build-delete test for CA drvs also
2025-09-22 16:54:30 -04:00
Robert Hensing
4183308ee2
tests/func*/characterisation-test-infra: Fix shellcheck
2025-09-22 21:06:26 +02:00
Robert Hensing
926287d813
tests/func*/ca/common: Fix shellcheck
2025-09-22 21:06:26 +02:00
Robert Hensing
8c31e07cce
tests/func*/ca/build-with-garbage-path: Fix shellcheck
2025-09-22 21:06:26 +02:00
Sergei Zimmerman
a453a49043
tests: Tests for writeable dummy in-memory store
2025-09-21 13:36:31 +03:00
Sergei Zimmerman
94d37e62fc
treewide: Support builds with ASAN, enable in CI
...
Enables builds with ASAN to catch memory corruption
bugs faster and in CI. This is an incredibly valuable
instrument that must be used as much as possible.
Somewhat based on jade's work from Lix, though there's a lot that
we have to do differently:
19ae87e5ce
Co-authored-by: Jade Lovelace <lix@jade.fyi>
2025-09-19 01:33:57 +03:00
Robert Hensing
b4fcb64276
Merge pull request #13980 from obsidiansystems/drv-json-issue-13570
...
Make the JSON format for derivation use basename store paths
2025-09-17 23:31:41 +02:00
John Ericson
9d7229a2a4
Make the JSON format for derivation use basename store paths
...
See #13570 for details --- the idea is that included the store dir in
store paths makes systematic JSON parting with e.g. Serde, Aeson,
nlohmann, or similiar harder.
After talking to Eelco, we are changing the `Derivation` format right
away because not only is `nix derivation` technically experimental, we think it is
also less widely used in practice than, say, `nix path-info`.
Progress on #13570
2025-09-17 16:38:17 -04:00
Sergei Zimmerman
86ad8d49f9
Revert "tests/nixos: Fix daemon store reference in authorization test"
...
This reverts commit 695f3bc7e3 .
2025-09-17 22:05:26 +03:00
Seth Flynn
ecdda5798c
nix flake check: Skip substitutable derivations
...
Since `nix flake check` doesn't produce a `result` symlink, it doesn't
actually need to build/substitute derivations that are already known
to have succeeded, i.e. that are substitutable.
This can speed up CI jobs in cases where the derivations have already
been built by other jobs. For instance, a command like
nix flake check github:NixOS/hydra/aa62c7f7db31753f0cde690f8654dd1907fc0ce2
should no longer build anything because the outputs are already in
cache.nixos.org.
Based-on: https://github.com/DeterminateSystems/nix-src/pull/134
Based-on: https://gerrit.lix.systems/c/lix/+/3841
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2025-09-15 21:31:03 +02:00
Cole Helbling
ed6ef7cdf4
Test that using --inputs-from with a flakeref that has a dir works
...
Will not pass until the next commit.
2025-09-08 09:00:59 +02:00
Cole Helbling
258d41bfb6
Test that dir is propagated from registry entry
2025-09-07 19:40:23 +02:00
Eelco Dolstra
14c001d613
Add a test for nix flake check building checks
2025-09-07 14:41:40 +02:00
Eelco Dolstra
9ff427d7ba
Merge pull request #13911 from xokdvium/store-uri-daemon-local
...
libstore: Do not normalize daemon -> unix://, local -> local://
2025-09-07 14:10:45 +02:00