add updater to drone-runner-docker
This commit is contained in:
parent
f94585190a
commit
a5cc88b548
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
inherit (source) rev sha256;
|
inherit (source) rev sha256;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
buildGoModule {
|
buildGoModule rec {
|
||||||
pname = "drone-runner-docker";
|
pname = "drone-runner-docker";
|
||||||
version = source.date;
|
version = source.date;
|
||||||
inherit src;
|
inherit src;
|
||||||
|
@ -33,4 +33,9 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
passthru.updateScript = writeScript "update-matrix-media-repo" ''
|
||||||
|
${../../scripts/update-git.sh} "https://github.com/drone-runners/drone-runner-docker" ci/drone-runner-docker/source.json
|
||||||
|
SRC_PATH=$(nix-build -E '(import ./. {}).${pname}.src')
|
||||||
|
${../../scripts/update-go.sh} ./ci/drone-runner-docker ci/drone-runner-docker/goVendor.hash
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue