3 ms·
I'd like to like Nix but I wasn't able to solve myself a simple issue (IMHO the docs aren't very good) and couldn't find help either ( https://www.reddit.com/r/
by renox 11y ago
I'd like to like Nix but I wasn't able to solve myself a simple issue (IMHO the docs aren't very good) and couldn't find help either ( https://www.reddit.com/r/NixOS/comments/4attyh/a_newbie_question_configure_nix_to_recompile_gcc/ https://www.reddit.com/r/NixOS/comments/4attyh/a_newbie_ques... ) so..
- mjhoy 11y agoThe subreddit is pretty quiet. Did you try asking on #nixos? People are pretty helpful there.
- renox 11y agoI tried once, but didn't get any reply (I really dislike IRC, it's like trying to be heard in a crowd) I'll try again..
- nuopnu 11y agoI can't provide you a full solution, but here are the hints: - gcc5 definition: https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L4168 https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/... - Old cc wrapper with a custom libc option https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/all-packages.nix#L5188 https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/... - libc in the GCC package itself: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/gcc/5/default.nix#L360 https://github.com/NixOS/nixpkgs/blob/master/pkgs/developmen... The whole system is very modular and customizable. But yeah, very hackish and undocumented.