fix: top level functors break legacy nix commands #47

Merged
blaggacao merged 1 commit from master into master 2022-11-17 10:41:32 +00:00

View file

@ -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 {});