diff --git a/tests/functional/flakes/build-paths.sh b/tests/functional/flakes/build-paths.sh index 98827947d..4e5c68095 100644 --- a/tests/functional/flakes/build-paths.sh +++ b/tests/functional/flakes/build-paths.sh @@ -57,16 +57,21 @@ cat > $flake1Dir/flake.nix < \$foo/file - echo "out" > \$out/file - ''; - outputSpecified = true; + a14 = with import ./config.nix; let + top = mkDerivation { + name = "dot-installable"; + outputs = [ "foo" "out" ]; + meta.outputsToInstall = [ "out" ]; + buildCommand = '' + mkdir \$foo \$out + echo "foo" > \$foo/file + echo "out" > \$out/file + ''; + }; + in top // { + foo = top.foo // { + outputSpecified = true; + }; }; }; }