mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
outputSpecified doesnt exit in top attr-set
This commit is contained in:
parent
52359ca00a
commit
8d84de455e
1 changed files with 15 additions and 10 deletions
|
@ -57,7 +57,8 @@ cat > $flake1Dir/flake.nix <<EOF
|
|||
|
||||
a13 = "\${self.drvCall.drvPath}\${self.drvCall.outPath}";
|
||||
|
||||
a14 = with import ./config.nix; mkDerivation {
|
||||
a14 = with import ./config.nix; let
|
||||
top = mkDerivation {
|
||||
name = "dot-installable";
|
||||
outputs = [ "foo" "out" ];
|
||||
meta.outputsToInstall = [ "out" ];
|
||||
|
@ -66,9 +67,13 @@ cat > $flake1Dir/flake.nix <<EOF
|
|||
echo "foo" > \$foo/file
|
||||
echo "out" > \$out/file
|
||||
'';
|
||||
};
|
||||
in top // {
|
||||
foo = top.foo // {
|
||||
outputSpecified = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in a new issue