Skip to content

Commit

Permalink
fix: top level functors break legacy nix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Nov 15, 2022
1 parent b4a3401 commit 6f56392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {});

Expand Down

0 comments on commit 6f56392

Please sign in to comment.