C: Difference between revisions
imported>Tobias.bora Add explaination how to use pkg-config with gtk-3.0 |
imported>Mic92 document fastStdenv |
||
Line 271: | Line 271: | ||
in (overrideCC stdenv gcc_nolibc).mkDerivation { | in (overrideCC stdenv gcc_nolibc).mkDerivation { | ||
name = "env"; | name = "env"; | ||
} | |||
</syntaxHighlight> | |||
== Faster GCC compiler == | |||
The default gcc compiler in nixpkgs disables profile-guided optimization in order to achieve deterministic builds. There is a faster version available in nixpkgs via the <code>fastStdenv</code> | |||
attribute (7-12% faster). | |||
<syntaxHighlight lang=nix> | |||
fastStdenv.mkDerivation { | |||
name = "env"; | |||
} | } | ||
</syntaxHighlight> | </syntaxHighlight> |