Merge pull request #47 from blaggacao/master
fix: top level functors break legacy nix commands
This commit is contained in:
commit
009399224d
|
@ -189,7 +189,7 @@ let
|
|||
in
|
||||
rec {
|
||||
defaultNix =
|
||||
result
|
||||
(builtins.removeAttrs result ["__functor"])
|
||||
// (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
|
||||
// (if result ? packages.${system}.default then { default = result.packages.${system}.default; } else {});
|
||||
|
||||
|
|
Loading…
Reference in a new issue