File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -57,16 +57,21 @@ cat > $flake1Dir/flake.nix <<EOF
5757
5858 a13 = "\$ {self.drvCall.drvPath}\$ {self.drvCall.outPath}";
5959
60- a14 = with import ./config.nix; mkDerivation {
61- name = "dot-installable";
62- outputs = [ "foo" "out" ];
63- meta.outputsToInstall = [ "out" ];
64- buildCommand = ''
65- mkdir \$ foo \$ out
66- echo "foo" > \$ foo/file
67- echo "out" > \$ out/file
68- '';
69- outputSpecified = true;
60+ a14 = with import ./config.nix; let
61+ top = mkDerivation {
62+ name = "dot-installable";
63+ outputs = [ "foo" "out" ];
64+ meta.outputsToInstall = [ "out" ];
65+ buildCommand = ''
66+ mkdir \$ foo \$ out
67+ echo "foo" > \$ foo/file
68+ echo "out" > \$ out/file
69+ '';
70+ };
71+ in top // {
72+ foo = top.foo // {
73+ outputSpecified = true;
74+ };
7075 };
7176 };
7277}
You can’t perform that action at this time.
0 commit comments