chore: make zim updater more awesome

This commit is contained in:
Greg Hellings
2026-03-25 06:28:27 -05:00
parent 8e12131608
commit bf8f67dce6
3 changed files with 9 additions and 31 deletions
+5 -19
View File
@@ -1,22 +1,8 @@
{
writeShellApplication,
nix-prefetch,
gcc,
go,
...
buildGoModule,
}:
let
goscript = ./updater.go;
in
writeShellApplication {
name = "update-zims";
runtimeInputs = [
gcc
go
nix-prefetch
];
text = ''
go build -o updater ${goscript}
./updater "$@"
'';
buildGoModule {
name = "updater";
src = ./.;
vendorHash = null;
}