diff --git a/flake.nix b/flake.nix index b1e3585..0b0a5e4 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,7 @@ sysLinuxX64 = "x86_64-linux"; sysDarwin = "aarch64-darwin"; sysLinuxAarch = "aarch64-linux"; + forAllSystems = nixpkgs.lib.genAttrs [ sysLinuxX64 sysLinuxAarch sysDarwin ]; wrapPkgsSystem = { system, cudaSupport ? false }: let @@ -150,6 +151,15 @@ }; }; + packages = forAllSystems (system: + let pkgs = nixpkgs.legacyPackages.${system}; in rec { + default = update; + + update = pkgs.callPackage ./update.nix { }; + }); + + + defaultTemplate = self.templates.basicShell; templates = { basicShell = {