From cf04cd58d1456af632775226940125b680a5b946 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 14 Jul 2025 09:55:43 +0100 Subject: [PATCH] feat: added update app in flake --- flake.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 = {