diff --git a/flake.nix b/flake.nix index 16e0d2acf1..0599a931b5 100644 --- a/flake.nix +++ b/flake.nix @@ -163,5 +163,16 @@ defaultPackage = flake.packages."unison-cli:exe:unison"; inherit (pkgs) unison-project; inherit devShells localPackageNames; + packages = flake.packages // { + all = pkgs.symlinkJoin { + name = "all-packages"; + paths = + let + all-other-packages = builtins.attrValues (builtins.removeAttrs self.packages."${system}" [ "all" ]); + devshell-inputs = builtins.concatMap (devShell: devShell.buildInputs ++ devShell.nativeBuildInputs) [ devShells.only-tools ]; + in + all-other-packages ++ devshell-inputs; + }; + }; }); }