Navigation Menu

Skip to content

Commit

Permalink
shell.nix: Add a flag for using clang
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Jan 24, 2017
1 parent 8af062f commit 1102c77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shell.nix
@@ -1,6 +1,8 @@
{ useClang ? false }:

with import <nixpkgs> {};

stdenv.mkDerivation {
(if useClang then clangStdenv else stdenv).mkDerivation {
name = "nix";

buildInputs =
Expand Down

0 comments on commit 1102c77

Please sign in to comment.