nix-community / napalm

Support for building npm packages in Nix and lightweight npm registry [maintainer=?]
MIT License
104 stars 18 forks source link

Use stdenv.cc instead of pkgs.gcc #6

Closed pikajude closed 4 years ago

pikajude commented 4 years ago

Is there a specific reason that gcc is needed for certain packages?

nmattia commented 4 years ago

No idea! Have you tried without cc altogether? At some point I was trying to build electron apps, I might have just added it for that reason; even though it might not be needed 99% of the time.

pikajude commented 4 years ago

Was able to successfully build react-devtools (electron app) without having stdenv.cc at all. It's probably propagated from somewhere else.

nmattia commented 4 years ago

Thanks!