From feb8581a39291a7f81cfc48dc21b21ac5c21c6e2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 23 Mar 2024 15:34:42 +0100 Subject: fix(flake): Correctly export the overlayed package set as `legacyPackages` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The flake output `legacyPackages` is not actually “legacy”, it's just nested. Thus, the output exporting the overlayed `pkgs` should be named `legacyPackages`. --- flake/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'flake') diff --git a/flake/default.nix b/flake/default.nix index d9643559..daa22734 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -160,7 +160,7 @@ ; }; in { - inherit pkgs nixosConfigurations; + inherit nixosConfigurations; checks."${system}" = { inherit (self.packages."${system}") @@ -169,6 +169,8 @@ in { formatting = treefmtEval.config.build.check self; }; + legacyPackages."${system}" = pkgs; + packages."${system}" = import ./packages { inherit nixos-generators -- cgit 1.4.1