buildGoPackage: fix preFixup failing
The preFixup is always failed if the target package hasn't any binary output.
This commit is contained in:
parent
ec674a6372
commit
12f52d234e
@ -184,7 +184,7 @@ go.stdenv.mkDerivation (
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
preFixup = preFixup + ''
|
preFixup = preFixup + ''
|
||||||
find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' +
|
find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user