From 16e2d4c8b714f3861405bb610694a0e3dc6a7ee9 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 3 Feb 2022 20:46:24 +0100 Subject: [PATCH] flake: remove unneeded indirection in legacyPackages Example: The nix-bitcoin electrs pkg can now be reached via flake attr .#modulesPkgs.electrs instead of .#nbPkgs.modulesPkgs.electrs --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 96fb8a5..273216c 100644 --- a/flake.nix +++ b/flake.nix @@ -111,7 +111,7 @@ # Allow accessing the whole nested `nbPkgs` attrset (including `modulesPkgs`) # via this flake. # `packages` is not allowed to contain nested pkgs attrsets. - legacyPackages = { inherit nbPkgs; }; + legacyPackages = nbPkgs; defaultApp = apps.vm;