default: fix selfPath being provided wrongly
i applied f8a0c6a50c
to the wrong if branch
This commit is contained in:
parent
ee05202f5d
commit
cc61437fc1
1 changed files with 4 additions and 2 deletions
|
@ -37,9 +37,11 @@ let
|
||||||
selfInStore = if selfInStore'.success then selfInStore'.value else gitlessSelfInStore;
|
selfInStore = if selfInStore'.success then selfInStore'.value else gitlessSelfInStore;
|
||||||
in
|
in
|
||||||
if !(evaluatingInStore) then { ... }@args: import selfInStore ({
|
if !(evaluatingInStore) then { ... }@args: import selfInStore ({
|
||||||
|
selfPath = selfInStore;
|
||||||
|
} // args )
|
||||||
|
else { ... }@args: import ./outputs.nix ({
|
||||||
selfPath = {
|
selfPath = {
|
||||||
outPath = builtins.toString ./.;
|
outPath = builtins.toString ./.;
|
||||||
selfMode = "store";
|
selfMode = "store";
|
||||||
};
|
};
|
||||||
} // args )
|
} // args)
|
||||||
else { ... }@args: import ./outputs.nix ({ selfPath = selfInStore; } // args)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue