mirror of
https://github.com/NixOS/nix
synced 2025-07-08 06:53:54 +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,16 +57,21 @@ 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
|
||||||
name = "dot-installable";
|
top = mkDerivation {
|
||||||
outputs = [ "foo" "out" ];
|
name = "dot-installable";
|
||||||
meta.outputsToInstall = [ "out" ];
|
outputs = [ "foo" "out" ];
|
||||||
buildCommand = ''
|
meta.outputsToInstall = [ "out" ];
|
||||||
mkdir \$foo \$out
|
buildCommand = ''
|
||||||
echo "foo" > \$foo/file
|
mkdir \$foo \$out
|
||||||
echo "out" > \$out/file
|
echo "foo" > \$foo/file
|
||||||
'';
|
echo "out" > \$out/file
|
||||||
outputSpecified = true;
|
'';
|
||||||
|
};
|
||||||
|
in top // {
|
||||||
|
foo = top.foo // {
|
||||||
|
outputSpecified = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue