From e74656a17580fc879fd186a2575c216c9670df8b Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Mon, 5 Aug 2024 17:57:21 +0100 Subject: [PATCH] Add legacyPackages output --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index fe7a2da..bb0b4f2 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,12 @@ }; in { + legacyPackages = forEachSystem (system: + lib.packagesFromDirectoryRecursive { + callPackage = nixpkgs.legacyPackages.${system}.callPackage; + directory = ./pkgs; + }); + nixosConfigurations = { atlas = mkNixosSystem { system = "x86_64-linux"; name = "atlas"; }; eos = mkNixosSystem { system = "x86_64-linux"; name = "eos"; };