mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +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}";
|
a13 = "\${self.drvCall.drvPath}\${self.drvCall.outPath}";
|
||||||
|
|
||||||
a14 = with import ./config.nix; mkDerivation {
|
a14 = with import ./config.nix; let
|
||||||
|
top = mkDerivation {
|
||||||
name = "dot-installable";
|
name = "dot-installable";
|
||||||
outputs = [ "foo" "out" ];
|
outputs = [ "foo" "out" ];
|
||||||
meta.outputsToInstall = [ "out" ];
|
meta.outputsToInstall = [ "out" ];
|
||||||
|
@ -66,9 +67,13 @@ cat > $flake1Dir/flake.nix <<EOF
|
||||||
echo "foo" > \$foo/file
|
echo "foo" > \$foo/file
|
||||||
echo "out" > \$out/file
|
echo "out" > \$out/file
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
|
in top // {
|
||||||
|
foo = top.foo // {
|
||||||
outputSpecified = true;
|
outputSpecified = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue