outputs: allow string interpolation
This commit is contained in:
parent
ccae4f8ef4
commit
d5b5519f4f
2 changed files with 9 additions and 5 deletions
|
@ -47,5 +47,5 @@ let
|
|||
type != "unknown" && builtins.baseNameOf path != ".git" && !matchesGitIgnore path
|
||||
) ./.;
|
||||
in
|
||||
if !(evaluatingInStore) then import selfInStore
|
||||
else import ./outputs.nix
|
||||
if !(evaluatingInStore) then { ... }@args: import selfInStore ({ selfPath = selfInStore; } // args )
|
||||
else { ... }@args: import ./outputs.nix ({ selfPath = selfInStore; } // args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue