Merge pull request #96538 from Mic92/go-references
buildGoModule/buildGoPackage: Remove go references from lib,libexec
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user