diff --git a/ci/drone-runner-docker/default.nix b/ci/drone-runner-docker/default.nix index e05fcb0..6ad4fa8 100644 --- a/ci/drone-runner-docker/default.nix +++ b/ci/drone-runner-docker/default.nix @@ -1,6 +1,7 @@ { fetchFromGitHub, buildGoModule, + writeScript }: let source = builtins.fromJSON (builtins.readFile ./source.json); src = fetchFromGitHub { @@ -33,9 +34,8 @@ 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 - ''; + 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 ''; }