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…
	
	Add table
		Add a link
		
	
		Reference in a new issue