From a2937d9e7718ac68259e96a9901be12499b3e94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 12 Jun 2023 06:23:10 +0200 Subject: [PATCH] fix nix flake show --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4c84ed7..81a143f 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}); }; }