Skip to content

Commit

Permalink
outputSpecified doesnt exit in top attr-set
Browse files Browse the repository at this point in the history
  • Loading branch information
dottharun committed Apr 3, 2024
1 parent 52359ca commit 8d84de4
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions tests/functional/flakes/build-paths.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,21 @@ cat > $flake1Dir/flake.nix <<EOF
a13 = "\${self.drvCall.drvPath}\${self.drvCall.outPath}";
a14 = with import ./config.nix; mkDerivation {
name = "dot-installable";
outputs = [ "foo" "out" ];
meta.outputsToInstall = [ "out" ];
buildCommand = ''
mkdir \$foo \$out
echo "foo" > \$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;
};
};
};
}
Expand Down

0 comments on commit 8d84de4

Please sign in to comment.