From cc61437fc100bea790acd82e145bfb1bd7e49f08 Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sun, 4 May 2025 18:28:06 +0200 Subject: [PATCH] default: fix selfPath being provided wrongly i applied f8a0c6a50c35c75bf2c45902c914378a9960cf4e to the wrong if branch --- default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 9cd1637..4647b38 100644 --- a/default.nix +++ b/default.nix @@ -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)