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:
Pascal Bach 2020-07-01 11:43:31 +02:00 committed by GitHub
parent deb220a55d
commit c323751a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@ buildGoPackage rec {
inherit version;
pname = "gitlab-runner";
goPackagePath = "gitlab.com/gitlab-org/gitlab-runner";
subPackages = [ "." ];
commonPackagePath = "${goPackagePath}/common";
buildFlagsArray = ''
-ldflags=
@ -35,7 +36,6 @@ buildGoPackage rec {
patches = [ ./fix-shell-path.patch ];
postInstall = ''
touch $out/bin/hello
install -d $out/bin/helper-images
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