buildGoPackage: fix preFixup failing
The preFixup is always failed if the target package hasn't any
binary output.
commit12f52d234e40f7302c0aa41c737cfa5c18053cca
authorsnyh <snyh@snyh.org>
dateSun 16 Apr 2017, 09:19 (10 years ago)
parentec674a6
pkgs/development/go-modules/generic/default.nix+1−1
@@ -184,7 +184,7 @@ go.stdenv.mkDerivation (
184184 '';
185185
186186 preFixup = preFixup + ''
187− find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' +
187+ find $bin/bin -type f -exec ${removeExpr removeReferences} '{}' + || true
188188 '';
189189
190190 shellHook = ''