diff --git a/flake.nix b/flake.nix
index 4c84ed7db032001f9d23ef7ef57b6a92d1b59554..81a143fa3f57524cc2945862e0fb1884b91a83a6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,8 +14,9 @@ ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
in
{
- packages = forAllSystems (system: import ./default.nix {
+ legacyPackages = forAllSystems (system: import ./default.nix {
pkgs = import nixpkgs { inherit system; };
});
+ packages = forAllSystems (system: nixpkgs.lib.filterAttrs (_: v: nixpkgs.lib.isDerivation v) self.legacyPackages.${system});
};
}