[Nix-dev] how to 'just run binaries' in nixos

Roger Qiu roger.qiu at matrix.ai
Tue Mar 21 23:48:59 CET 2017


Replace the interpreter path. But there might be dependencies (try ldd)
that it relies on that you also need to substitute.
On 22/03/2017 9:42 AM, "Azul" <mail at azulinho.com> wrote:

> is there a simple way to just run binaries in nixos ?
>
> stuff like go binaries or other bits and bobs ?
>
>
> ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
> interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.26
>
> ./my-binary
> bash: ./my-binary: No such file or directory
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170322/9f6f2414/attachment.html>


More information about the nix-dev mailing list