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";
|
sysLinuxX64 = "x86_64-linux";
|
||||||
sysDarwin = "aarch64-darwin";
|
sysDarwin = "aarch64-darwin";
|
||||||
sysLinuxAarch = "aarch64-linux";
|
sysLinuxAarch = "aarch64-linux";
|
||||||
|
forAllSystems = nixpkgs.lib.genAttrs [ sysLinuxX64 sysLinuxAarch sysDarwin ];
|
||||||
|
|
||||||
wrapPkgsSystem = { system, cudaSupport ? false }:
|
wrapPkgsSystem = { system, cudaSupport ? false }:
|
||||||
let
|
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;
|
defaultTemplate = self.templates.basicShell;
|
||||||
templates = {
|
templates = {
|
||||||
basicShell = {
|
basicShell = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user