[Nix-dev] Building portable linux binaries on NixOS

Kamil Chmielewski kamil.chm at gmail.com
Thu Oct 8 00:03:23 CEST 2015


2015-10-07 20:44 GMT+02:00 Bryan Gardiner <bog at khumba.net>:

> > your shell does not find "./go-app".
> > What does ls -l say?
>

The file path is right and exists for sure.


> Most likely Kamil is in the right directory, and this is just a known
> quirk: bash tries to exec the program, the exec fails because the
> binary's interpreter is set incorrectly, and bash incorrectly
> interprets the failure as the program not existing.  See
> https://nixos.org/patchelf.html (although, there is an open bug about
> patchelf not working on Go binaries, see
> https://github.com/NixOS/patchelf/issues/66).
>

Looks like the issue. Any ideas what to do?


Thx,
Kamil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151008/5d6623d4/attachment.html 


More information about the nix-dev mailing list