buildGoPackage: fix preFixup failing

The preFixup is always failed if the target package hasn't any
binary output.
This commit is contained in:
snyh 2017-04-16 09:19:58 +08:00
parent ec674a6372
commit 12f52d234e

View File

@ -184,7 +184,7 @@ go.stdenv.mkDerivation (
'';
preFixup = preFixup + ''
find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' +
find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
'';
shellHook = ''