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

Best regards,
Bjørn Forsman
nix-dev mailing list

Reply via email to