Merge pull request #96538 from Mic92/go-references

buildGoModule/buildGoPackage: Remove go references from lib,libexec
This commit is contained in:
Linus Heckemann
2020-08-30 16:44:08 +02:00
committed by GitHub
8 changed files with 3 additions and 15 deletions
@@ -180,7 +180,7 @@ rec {
'';
preFixup = ''
find $out -type f -exec remove-references-to -t ${go} -t ${stdenv.cc.cc} '{}' +
find $out -type f -exec remove-references-to -t ${stdenv.cc.cc} '{}' +
'' + optionalString (stdenv.isLinux) ''
find $out -type f -exec remove-references-to -t ${stdenv.glibc.dev} '{}' +
'';
@@ -67,10 +67,6 @@ buildGoPackage rec {
runHook postInstall
'';
postFixup = ''
find $out/libexec/ -type f -executable -exec remove-references-to -t ${go} '{}' + || true
'';
meta = with stdenv.lib; {
homepage = "http://www.sylabs.io/";
description = "Application containers for linux";