1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-06 09:01:01 +01:00
nix/tests/functional
Eelco Dolstra 73b1754816 Mount flake input source accessors on top of storeFS
This way, we don't need the PathDisplaySourceAccessor source accessor
hack, since error messages are produced directly by the original
source accessor.

In fact, we don't even need to copy the inputs to the store at all, so
this gets us very close to lazy trees. We just need to know the store
path so that requires hashing the entire input, which isn't lazy. But
the next step will be to use a virtual store path that gets rewritten
to the actual store path only when needed.
2025-04-01 17:49:28 +02:00
..
ca Tagging release 2.27.1 2025-03-24 21:28:03 +01:00
characterisation tests/functional/characterisation/framework: Log to stderr 2025-01-28 09:26:33 +01:00
common Merge remote-tracking branch 'origin/2.26-maintenance' into detsys-main 2025-02-24 22:41:22 +01:00
config Remove references to nix-command 2024-07-10 20:35:44 +02:00
derivation Format .nix files 2025-01-24 20:40:21 +01:00
dyn-drv Tagging release 2.27.1 2025-03-24 21:28:03 +01:00
flakes Mount flake input source accessors on top of storeFS 2025-04-01 17:49:28 +02:00
git-hashing test: Fix shellcheck by giving git-hashing scripts shebangs 2025-02-10 15:14:53 +01:00
lang fetchTree: Distinguish between fetchGit and fetchTree consistently 2025-01-31 15:10:29 +01:00
lang-gc Format .nix files 2025-01-24 20:40:21 +01:00
local-overlay-store functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
logging test: Move unusual-logging to run only in logging test case 2024-12-09 17:19:47 +01:00
nested-sandboxing Format .nix files 2025-01-24 20:40:21 +01:00
plugins Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
repl test: Fix shifted source positions after formatting 2025-01-24 22:21:27 +01:00
test-libstoreconsumer Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
.version Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
add.sh fix: Resolve CLI parent symlinks before adding to store 2025-01-07 05:42:03 +00:00
bash-profile.sh housekeeping: shellcheck for tests/functional/bash-profile.sh 2024-06-12 16:58:25 -04:00
big-derivation-attr.nix Format .nix files 2025-01-24 20:40:21 +01:00
binary-cache-build-remote.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
binary-cache.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
brotli.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
build-delete.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
build-dry.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
build-hook-ca-fixed.nix Format .nix files 2025-01-24 20:40:21 +01:00
build-hook-ca-floating.nix Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
build-hook.nix Format .nix files 2025-01-24 20:40:21 +01:00
build-remote-content-addressed-fixed.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-remote-content-addressed-floating.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-remote-input-addressed.sh tests: Add hydraJobs.tests.functional_* 2024-06-20 14:54:11 +02:00
build-remote-trustless-after.sh Shellcheck some test scripts 2024-05-28 12:32:22 -04:00
build-remote-trustless-should-fail-0.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
build-remote-trustless-should-pass-0.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-remote-trustless-should-pass-1.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-remote-trustless-should-pass-2.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
build-remote-trustless-should-pass-3.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
build-remote-trustless.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
build-remote-with-mounted-ssh-ng.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-remote.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
build.sh Expand shellcheck coverage in functional tests 2024-10-30 08:27:06 -07:00
ca-shell.nix Format .nix files 2025-01-24 20:40:21 +01:00
case-collision.nar Detect NAR directory entries that collide with another path after case-hacking 2024-09-10 09:51:50 +02:00
case.nar Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
characterisation-test-infra.sh Factor out a bit more language testings infra 2024-06-23 15:33:45 -04:00
check-refs.nix Format .nix files 2025-01-24 20:40:21 +01:00
check-refs.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
check-reqs.nix Format .nix files 2025-01-24 20:40:21 +01:00
check-reqs.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
check.nix Format .nix files 2025-01-24 20:40:21 +01:00
check.sh Add check for one nix-build-* directory 2024-10-31 06:46:33 -07:00
chroot-store.sh Add test 2025-02-19 12:47:28 +01:00
common.sh Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
completions.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
compression-levels.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
compute-levels.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
config.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
config.nix.in Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
config.sh Remove references to nix-command 2024-07-10 20:35:44 +02:00
db-migration.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
debugger.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
dependencies.builder0.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
dependencies.nix Format .nix files 2025-01-24 20:40:21 +01:00
dependencies.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
derivation-advanced-attributes.sh tests: derivation-advanced-attributes unset NIX_STORE 2024-12-04 23:21:07 -08:00
derivation-json.sh housekeeping: shellcheck for tests/functional/derivation-json.sh 2024-06-12 17:41:16 -04:00
dot.nar Add tests for invalid file names in NARs 2024-09-12 15:02:30 +02:00
dotdot.nar Add tests for invalid file names in NARs 2024-09-12 15:02:30 +02:00
dummy Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
dump-db.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
duplicate.nar Add test case for NARs with duplicate directory entries 2024-09-10 09:51:50 +02:00
empty.nar Add tests for invalid file names in NARs 2024-09-12 15:02:30 +02:00
eval-store.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
eval.nix test: test eval of newlines with raw output 2024-12-31 14:24:06 +01:00
eval.sh feat(nix-instantiate): add --raw flag 2024-12-31 16:36:49 +01:00
executable-after-contents.nar Make the NAR parser much stricter wrt field order 2024-09-12 15:57:46 +02:00
experimental-features.sh Remove references to nix-command 2024-07-10 20:35:44 +02:00
export-graph.nix Format .nix files 2025-01-24 20:40:21 +01:00
export-graph.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
export.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
extra-sandbox-profile.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
extra-sandbox-profile.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
failing.nix Format .nix files 2025-01-24 20:40:21 +01:00
fetchClosure.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
fetchGit.sh Fix duplicate setPathDisplay() 2025-02-02 02:10:53 +00:00
fetchGitRefs.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
fetchGitSubmodules.sh Git fetcher: Ignore .gitmodules entries that are not submodules 2024-09-12 16:16:36 +00:00
fetchGitVerification.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
fetchMercurial.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
fetchPath.sh Add test 2024-10-16 17:18:07 +02:00
fetchTree-file.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
fetchurl.sh Expand shellcheck coverage in functional tests 2024-10-30 08:27:06 -07:00
filter-source.nix Format .nix files 2025-01-24 20:40:21 +01:00
filter-source.sh housekeeping: shellcheck for tests/functional/filter-source.sh 2024-06-12 17:41:16 -04:00
fixed.builder1.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
fixed.builder2.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
fixed.nix Format .nix files 2025-01-24 20:40:21 +01:00
fixed.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
fmt.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
fmt.simple.sh fix(nix fmt): remove the default "." argument 2024-09-10 22:18:56 +02:00
fod-failing.nix Format .nix files 2025-01-24 20:40:21 +01:00
function-trace.sh housekeeping: shellcheck for tests/functional/function-trace.sh 2024-06-12 17:41:16 -04:00
gc-auto.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
gc-concurrent.builder.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
gc-concurrent.nix Format .nix files 2025-01-24 20:40:21 +01:00
gc-concurrent.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
gc-concurrent2.builder.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
gc-non-blocking.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
gc-runtime.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
gc-runtime.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
gc.sh Expand shellcheck coverage in functional tests 2024-10-30 08:27:06 -07:00
hash-check.nix Format .nix files 2025-01-24 20:40:21 +01:00
hash-convert.sh nix hash convert: Don't fail on uppercase base-16 hashes 2024-12-05 16:19:21 +01:00
hash-path.sh test: Avoid regressing accidental use of weakly_canonical instead of makeParentCanonical 2025-01-07 05:42:04 +00:00
help.sh test: Use skipTest instead of exit 0 2025-02-07 11:20:18 +01:00
hermetic.nix Format .nix files 2025-01-24 20:40:21 +01:00
ifd.nix Format .nix files 2025-01-24 20:40:21 +01:00
import-from-derivation.nix Format .nix files 2025-01-24 20:40:21 +01:00
import-from-derivation.sh EvalState::realiseContext(): Allow access to the entire closure 2024-12-16 16:16:36 +01:00
impure-derivations.nix Format .nix files 2025-01-24 20:40:21 +01:00
impure-derivations.sh Remove references to nix-command 2024-07-10 20:35:44 +02:00
impure-env.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
impure-env.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
impure-eval.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
install-darwin.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
lang-gc.sh tests/functional/lang-gc: Disable for now 2024-07-22 17:46:08 +02:00
lang.sh Expand shellcheck coverage in functional tests 2024-10-30 08:27:06 -07:00
legacy-ssh-store.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
linux-sandbox-cert-test.nix Format .nix files 2025-01-24 20:40:21 +01:00
linux-sandbox.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
logging.sh tests: Make unusual logging test conditional on fixed daemon version 2024-12-09 17:29:45 +01:00
meson.build Fix a few warnings 2025-02-17 19:29:01 +01:00
misc.sh tests: Fix installTests 2025-02-19 01:04:04 +01:00
multiple-outputs.nix Format .nix files 2025-01-24 20:40:21 +01:00
multiple-outputs.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
name-after-node.nar Make the NAR parser much stricter wrt field order 2024-09-12 15:57:46 +02:00
nar-access.nix Format .nix files 2025-01-24 20:40:21 +01:00
nar-access.sh Expand shellcheck coverage in functional tests 2024-10-30 08:27:06 -07:00
nars.sh Rename nul.nar because nul is a special name in Windows 2024-11-03 17:02:47 +11:00
nested-sandboxing.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
nix-build-examples.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
nix-build.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
nix-channel.sh Add a test for #12339 2025-01-24 15:25:10 +01:00
nix-collect-garbage-d.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
nix-copy-ssh-common.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
nix-copy-ssh-ng.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
nix-copy-ssh.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
nix-daemon-untrusting.sh Arbitrarily bring back some nix-daemon calls 2024-01-13 11:27:04 -08:00
nix-profile.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
nix-shell.sh Fix issue 11892 2024-11-18 21:04:04 +01:00
nix_path.sh reword documentation on nix-path config option (#7772) 2024-07-31 21:41:26 +02:00
nul-character.nar Rename nul.nar because nul is a special name in Windows 2024-11-03 17:02:47 +11:00
optimise-store.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
output-normalization.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
package.nix tests: Fix installTests 2025-02-19 01:04:04 +01:00
parallel.builder.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
parallel.nix Format .nix files 2025-01-24 20:40:21 +01:00
parallel.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
pass-as-file.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
path-from-hash-part.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
path-info.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
path.nix Format .nix files 2025-01-24 20:40:21 +01:00
placeholders.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
plugins.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
post-hook.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
pure-eval.nix Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
pure-eval.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
push-to-store-old.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
push-to-store.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
read-only-store.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
readfile-context.nix Format .nix files 2025-01-24 20:40:21 +01:00
readfile-context.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
recursive.nix Tagging release 2.26.2 2025-02-18 19:57:51 +01:00
recursive.sh Remove references to nix-command 2024-07-10 20:35:44 +02:00
referrers.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
remote-store.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
repair.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
repl.sh Tagging release 2.26.2 2025-02-18 19:57:51 +01:00
restricted.nix Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
restricted.sh Mount flake input source accessors on top of storeFS 2025-04-01 17:49:28 +02:00
search.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
search.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
secure-drv-outputs.nix Format .nix files 2025-01-24 20:40:21 +01:00
secure-drv-outputs.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
selfref-gc.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
shell-hello.nix Format .nix files 2025-01-24 20:40:21 +01:00
shell.nix Format .nix files 2025-01-24 20:40:21 +01:00
shell.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
shell.shebang.expr Fix and extend nix-shell baseDir test 2024-07-07 00:23:22 +02:00
shell.shebang.legacy.expr Fixup: add missing test file 2024-07-07 14:49:52 +02:00
shell.shebang.nix tests: test nix-shell shebang quoting 2023-10-23 17:32:50 +02:00
shell.shebang.rb Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
shell.shebang.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
signing.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
simple-failing.nix Format .nix files 2025-01-24 20:40:21 +01:00
simple.builder.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
simple.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
simple.sh copyPathToStore(): Preserve symlinks 2025-02-11 21:51:39 +00:00
slash.nar Add tests for invalid file names in NARs 2024-09-12 15:02:30 +02:00
ssh-relay.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
store-info.sh Tagging release 2.26.2 2025-02-18 19:57:51 +01:00
structured-attrs-shell.nix Format .nix files 2025-01-24 20:40:21 +01:00
structured-attrs.nix Format .nix files 2025-01-24 20:40:21 +01:00
structured-attrs.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
substitute-with-invalid-ca.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
suggestions.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
supplementary-groups.sh functional-tests: skip tests if the kernel restricts unprivileged user namespaces 2024-12-15 16:07:27 +01:00
symlink-derivation.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
symlinks.sh copyPathToStore(): Preserve symlinks 2025-02-11 21:51:39 +00:00
tarball.sh Add test 2025-02-12 22:05:38 +01:00
test-infra.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
test-libstoreconsumer.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
timeout.nix Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
timeout.sh Fix a few shellcheck tests 2024-08-14 15:16:06 +02:00
toString-path.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
tree.tar.gz Support hard links in tarballs 2024-06-11 16:05:57 +02:00
undefined-variable.nix Format .nix files 2025-01-24 20:40:21 +01:00
unnormalized.nar Test that deserializing NARs with names with equal Unicode normal forms fails on macOS 2024-09-10 09:51:50 +02:00
user-envs-migration.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
user-envs-test-case.sh nix-env: add a --priority flag to --install 2025-01-16 11:46:25 -08:00
user-envs.builder.sh Put functional tests in tests/functional 2023-10-06 09:05:56 -04:00
user-envs.nix Format .nix files 2025-01-24 20:40:21 +01:00
user-envs.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
why-depends.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
zstd.sh Merge remote-tracking branch 'origin/master' into nix-copy-gc 2024-11-04 14:52:56 +01:00