From 34c1b687e26969bbbe9d6b20ef022ad57ce739e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 25 Sep 2022 20:08:10 +0100 Subject: [PATCH] import writeScript --- ci/drone-runner-docker/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ''; }