Files
nixos/pkgs/zim/updater.nix
T
Greg Hellings 54b3620029 Make the things better
Use transmission, which is not broken
Bump supposed version of zim meta package
Provide better passing of arguments to updater
2025-10-15 23:31:40 -05:00

23 lines
279 B
Nix

{
writeShellApplication,
nix-prefetch,
gcc,
go,
...
}:
let
goscript = ./updater.go;
in
writeShellApplication {
name = "update-zims";
runtimeInputs = [
gcc
go
nix-prefetch
];
text = ''
go build -o updater ${goscript}
./updater "$@"
'';
}