diff --git a/shell.nix b/shell.nix index dd4484105..4c1608230 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,8 @@ +{ useClang ? false }: + with import {}; -stdenv.mkDerivation { +(if useClang then clangStdenv else stdenv).mkDerivation { name = "nix"; buildInputs =