1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00
nix/tests/functional/flakes
Eelco Dolstra 12fd65d179 Disable subflakes test
Relative path flakes ("subflakes") are basically fundamentally
broken, since they produce lock file entries like

  "locked": {
    "lastModified": 1,
    "narHash": "sha256-/2tW9SKjQbRLzfcJs5SHijli6l3+iPr1235zylGynK8=",
    "path": "./flakeC",
    "type": "path"
  },

that don't specify what "./flakeC" is relative to. They *sometimes*
worked by accident because the `narHash` field allowed
`fetchToStore()` to get the store path of the subflake *if* it
happened to exist in the local store or in a substituter.

Subflakes are properly fixed in #10089 (which adds a "parent" field to
the lock file). Rather than come up with some crazy hack to make them
work in the interim, let's just disable the only test that depends on
the broken behaviour for now.
2024-09-11 21:58:32 +02:00
..
absolute-attr-paths.sh housekeeping: shellcheck for tests/functional/flakes/absolute-attr-paths.sh 2024-06-12 17:41:16 -04:00
absolute-paths.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-paths.sh housekeeping: shellcheck for tests/functional/flakes/build-paths.sh 2024-06-12 17:41:16 -04:00
bundle.sh housekeeping: shellcheck for tests/functional/flakes/bundle.sh 2024-06-12 17:41:16 -04:00
check.sh nix flake check: Add functional tests for apps and formatter 2024-08-17 15:50:06 +05:30
circular.sh housekeeping: shellcheck for tests/functional/flakes/circular.sh 2024-06-12 17:41:16 -04:00
common.sh Test that the root of a tree produces /nix/store/<hash1>-<hash2>-source 2024-04-30 17:25:35 +02:00
config.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
develop.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
edit.sh add regression test for nix edit 2024-05-31 12:58:47 +02:00
eval-cache.sh tests/functional/flakes/eval-cache.sh: Don't write a result symlink in the wrong location 2024-07-01 19:10:41 +02:00
flake-in-submodule.sh tests/functional: Skip tests that don't work in NixOS environment yet 2024-06-20 14:54:11 +02:00
flakes.sh nix flake {metadata,archive}: Fix chroot stores 2024-09-09 15:41:38 +02:00
follow-paths.sh Disable subflakes test 2024-09-11 21:58:32 +02:00
init.sh More quote coalescing 2024-06-12 17:47:54 -04:00
inputs.sh housekeeping: shellcheck for tests/functional/flakes/inputs.sh 2024-06-12 17:41:16 -04:00
local.mk Put flake functional tests in their own group 2024-07-24 22:31:37 -04:00
mercurial.sh More quote coalescing 2024-06-12 17:47:54 -04:00
meson.build Build Functional tests with Meson 2024-08-14 15:35:40 -04:00
prefetch.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
run.sh Merge pull request #10931 from hercules-ci/test-run-and-shell-envs 2024-07-17 21:21:14 +02:00
search-root.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
show.sh Use the window size for the entire length 2024-08-08 14:47:57 -04:00
tree.zip Handle zip files containing symlinks 2024-05-09 19:33:09 +02:00
unlocked-override.sh housekeeping: shellcheck for tests/functional/flakes/unlocked-override.sh 2024-06-12 17:41:16 -04:00