mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 15:26:17 +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> {};
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
(if useClang then clangStdenv else stdenv).mkDerivation {
|
||||||
name = "nix";
|
name = "nix";
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
Loading…
Reference in a new issue