fix: top level functors break legacy nix commands
see: https://github.com/divnix/std/issues/186
This commit is contained in:
parent
b4a34015c6
commit
6f56392cc4
|
@ -189,7 +189,7 @@ let
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
defaultNix =
|
defaultNix =
|
||||||
result
|
(builtins.removeAttrs result ["__functor"])
|
||||||
// (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
|
// (if result ? defaultPackage.${system} then { default = result.defaultPackage.${system}; } else {})
|
||||||
// (if result ? packages.${system}.default then { default = result.packages.${system}.default; } else {});
|
// (if result ? packages.${system}.default then { default = result.packages.${system}.default; } else {});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue