docker: simplify remove-references-to

This commit is contained in:
Jörg Thalheim 2020-08-28 13:03:56 +01:00
parent eab48f5a1b
commit 7aa189970a
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -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} '{}' +
'';