Use transmission, which is not broken Bump supposed version of zim meta package Provide better passing of arguments to updater
23 lines
279 B
Nix
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 "$@"
|
|
'';
|
|
}
|