diff options
Diffstat (limited to '')
-rw-r--r-- | inputs.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,7 @@ let callFlake = name: inputs: let self = (import "${sources.${name}}/flake.nix").outputs - ({ inherit self; } // inputs); + ({ self = self // { outPath = sources.${name}.outPath; }; } // inputs); in self // { outPath = sources.${name}.outPath; }; @@ -41,7 +41,8 @@ let # this absurd third copy only exists because non-flake nixpkgs does not # as easily expose the evalConfig function .. nixpkgs-flake = - (import "${sources.nixpkgs}/flake.nix").outputs { self = nixpkgs-flake; }; + (import "${sources.nixpkgs}/flake.nix").outputs { self = nixpkgs-flake; } + // { outPath = sources.nixpkgs.outPath; }; home-manager = callFlake "home-manager" { inherit nixpkgs; }; |