On 12 October 2016 at 15:41, Nikolay Amiantov <a...@fmap.me> wrote:
> Try adding `glibc.static` to `buildInputs` (I'm not sure if `nix-shell
> -p` would do the same thing, but you can try it too).

Thank you very much! It worked:

$ nix-shell -p gcc glibc.static
$ gcc -static foo.c
(success)

Best regards,
Bjørn Forsman
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to