Commit 04e79caa authored by Lisanna Dettwyler's avatar Lisanna Dettwyler
Browse files

nix-scheduler-hook: add updateScript

parent 685f2caf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";