nix-scheduler-hook: add updateScript
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
openpbs,
|
||||
symlinkJoin,
|
||||
slurm,
|
||||
gitUpdater,
|
||||
}:
|
||||
let
|
||||
restclient-cpp = fetchFromGitHub {
|
||||
@@ -73,6 +74,12 @@ stdenv.mkDerivation rec {
|
||||
mv subprojects/restclient-cpp/librestclient_cpp.so!(*p) $out/lib
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
rev-prefix = "v";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Nix build hook that forwards builds to job schedulers";
|
||||
homepage = "https://github.com/lisanna-dettwyler/nix-scheduler-hook";
|
||||
|
||||
Reference in New Issue
Block a user