import writeScript
This commit is contained in:
parent
0d0f788a5c
commit
34c1b687e2
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
|
writeScript
|
||||||
}: let
|
}: let
|
||||||
source = builtins.fromJSON (builtins.readFile ./source.json);
|
source = builtins.fromJSON (builtins.readFile ./source.json);
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -33,9 +34,8 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
passthru.updateScript = writeScript "update-matrix-media-repo" ''
|
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
|
${../../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')
|
SRC_PATH=$(nix-build -E '(import ./. {}).${pname}.src')
|
||||||
${../../scripts/update-go.sh} ./ci/drone-runner-docker ci/drone-runner-docker/goVendor.hash
|
${../../scripts/update-go.sh} ./ci/drone-runner-docker ci/drone-runner-docker/goVendor.hash '';
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue