mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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.
This commit is contained in:
parent
30aa45a373
commit
12fd65d179
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
source ./common.sh
|
source ./common.sh
|
||||||
|
|
||||||
|
# FIXME: this test is disabled because relative path flakes are broken. Re-enable this in #10089.
|
||||||
|
exit 0
|
||||||
|
|
||||||
requireGit
|
requireGit
|
||||||
|
|
||||||
flakeFollowsA=$TEST_ROOT/follows/flakeA
|
flakeFollowsA=$TEST_ROOT/follows/flakeA
|
||||||
|
|
Loading…
Reference in a new issue