C: Difference between revisions
imported>Artturin m add to the languages category |
imported>Mic92 |
||
Line 235: | Line 235: | ||
== Use a different compiler version == | == Use a different compiler version == | ||
Adding a different c compiler to | Adding a different c compiler to <code>buildInputs</code> in a nix expression will not change the default compiler | ||
available in | available in <code>$PATH</code>. Instead, nixpkgs provides a several alternative <code>stdenv</code> which you can search with <code>nix search stdenv</code> so for example: | ||
<syntaxHighlight lang=nix> | <syntaxHighlight lang=nix> |