Skip to content

Commit

Permalink
Merge pull request edolstra#47 from blaggacao/master
Browse files Browse the repository at this point in the history
fix: top level functors break legacy nix commands
  • Loading branch information
edolstra authored Nov 17, 2022
2 parents b4a3401 + 6f56392 commit 0093992
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 0093992

Please sign in to comment.