feat: added update app in flake
This commit is contained in:
parent
a2eb9e1566
commit
cf04cd58d1
10
flake.nix
10
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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user