From 6f56392cc453c14b05060a1e08add387b767a847 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Mon, 14 Nov 2022 20:27:18 -0500 Subject: [PATCH] fix: top level functors break legacy nix commands see: https://github.com/divnix/std/issues/186 --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index f8af091..3fef1dd 100644 --- a/default.nix +++ b/default.nix @@ -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 {});