C: Difference between revisions

imported>Mic92
imported>Mic92
Line 332: Line 332:
== Use a clang compiled from source ==
== Use a clang compiled from source ==


Unwrapped compilers usually do not any libraries/headers in nix. This is an issue if you work on the clang code base.
Unwrapped compilers usually do not any access to libraries/headers in nix. This is an issue if you work on the clang/llvm code base.
Assuming you have build llvm/clang like this
Assuming you have built llvm/clang like this


<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
Line 364: Line 364:
</syntaxHighlight>
</syntaxHighlight>


Than you can create a <code>shell.nix</code> like this:
Then you can create a <code>shell.nix</code> like this:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>