gitlab-runner: remove additional binaries (#91811)
Only the gitlab-runner and the helper-images are required. All other binaries that were currently in the derivation were only for testing.
This commit is contained in:
parent
deb220a55d
commit
c323751a71
@ -17,6 +17,7 @@ buildGoPackage rec {
|
|||||||
inherit version;
|
inherit version;
|
||||||
pname = "gitlab-runner";
|
pname = "gitlab-runner";
|
||||||
goPackagePath = "gitlab.com/gitlab-org/gitlab-runner";
|
goPackagePath = "gitlab.com/gitlab-org/gitlab-runner";
|
||||||
|
subPackages = [ "." ];
|
||||||
commonPackagePath = "${goPackagePath}/common";
|
commonPackagePath = "${goPackagePath}/common";
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
@ -35,7 +36,6 @@ buildGoPackage rec {
|
|||||||
patches = [ ./fix-shell-path.patch ];
|
patches = [ ./fix-shell-path.patch ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
touch $out/bin/hello
|
|
||||||
install -d $out/bin/helper-images
|
install -d $out/bin/helper-images
|
||||||
ln -sf ${docker_x86_64} $out/bin/helper-images/prebuilt-x86_64.tar.xz
|
ln -sf ${docker_x86_64} $out/bin/helper-images/prebuilt-x86_64.tar.xz
|
||||||
ln -sf ${docker_arm} $out/bin/helper-images/prebuilt-arm.tar.xz
|
ln -sf ${docker_arm} $out/bin/helper-images/prebuilt-arm.tar.xz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user