default: fix selfPath being provided wrongly

i applied f8a0c6a50c to the wrong if branch
This commit is contained in:
Wroclaw 2025-05-04 18:28:06 +02:00
parent ee05202f5d
commit cc61437fc1

View file

@ -37,9 +37,11 @@ let
selfInStore = if selfInStore'.success then selfInStore'.value else gitlessSelfInStore;
in
if !(evaluatingInStore) then { ... }@args: import selfInStore ({
selfPath = selfInStore;
} // args )
else { ... }@args: import ./outputs.nix ({
selfPath = {
outPath = builtins.toString ./.;
selfMode = "store";
};
} // args )
else { ... }@args: import ./outputs.nix ({ selfPath = selfInStore; } // args)
} // args)