diff options
author | Soispha <soispha@vhack.eu> | 2024-03-23 15:34:42 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-03-23 15:34:42 +0100 |
commit | feb8581a39291a7f81cfc48dc21b21ac5c21c6e2 (patch) | |
tree | b1a3d70e3f0f31ee20bc9c664e6f84108df029f0 | |
parent | fix(flake): Import my modules stuck in nixpkgs prs directly (diff) | |
download | nixos-config-feb8581a39291a7f81cfc48dc21b21ac5c21c6e2.tar.gz nixos-config-feb8581a39291a7f81cfc48dc21b21ac5c21c6e2.zip |
fix(flake): Correctly export the overlayed package set as `legacyPackages`
The flake output `legacyPackages` is not actually “legacy”, it's just nested. Thus, the output exporting the overlayed `pkgs` should be named `legacyPackages`.
-rw-r--r-- | flake/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 |