mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-09 15:58:05 +02:00
shell.nix: Add a flag for using clang
This commit is contained in:
parent
8af062f372
commit
1102c77919
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
{ useClang ? false }:
|
||||
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation {
|
||||
(if useClang then clangStdenv else stdenv).mkDerivation {
|
||||
name = "nix";
|
||||
|
||||
buildInputs =
|
||||
|
|
Loading…
Reference in a new issue