diff --git a/ci/drone-runner-docker/default.nix b/ci/drone-runner-docker/default.nix index c388332..1979ae9 100644 --- a/ci/drone-runner-docker/default.nix +++ b/ci/drone-runner-docker/default.nix @@ -9,7 +9,7 @@ inherit (source) rev sha256; }; in - buildGoModule { + buildGoModule rec { pname = "drone-runner-docker"; version = source.date; 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 + ''; }