diff options
author | matthewcroughan <matt@croughan.sh> | 2022-04-12 21:13:26 +0100 |
---|---|---|
committer | matthewcroughan <matt@croughan.sh> | 2022-04-12 21:22:36 +0100 |
commit | 3f128cc0247a95cfdcbb34a96c230422706b1715 (patch) | |
tree | c292da3ccf6c5f99b85ad3ffbb0d78c11a0a69db /lib/tests/misc.nix | |
parent | ec59145c3b8d69bf1e270fdcfa651348880ad8e4 (diff) |
lib/tests: evaluate value from subflake with callLocklessFlake
Diffstat (limited to 'lib/tests/misc.nix')
-rw-r--r-- | lib/tests/misc.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests/misc.nix b/lib/tests/misc.nix index e11fe648cc922..dcb56d0c1fc6b 100644 --- a/lib/tests/misc.nix +++ b/lib/tests/misc.nix @@ -27,9 +27,9 @@ runTests { testCallLocklessFlake = { expr = callLocklessFlake { path = ./flakes/subflakeTest; - inputs = { subflake = ./flakes/subflakeTest/subflake; }; + inputs = { subflake = ./flakes/subflakeTest/subflake; inherit callLocklessFlake; }; }; - expected = { x = ./flakes/subflakeTest/subflake; outPath = ./flakes/subflakeTest; }; + expected = { x = 1; outPath = ./flakes/subflakeTest; }; }; # TRIVIAL |