30 lines
		
	
	
		
			561 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			561 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs ? import ./. }:
 | |
| 
 | |
| with pkgs;
 | |
| with bsc;
 | |
| 
 | |
| mkShell {
 | |
|   name = "garlic-shell";
 | |
| 
 | |
|   buildInputs =
 | |
|     # Packages from garlic
 | |
|     (with garlic; [ tool garlicd ]) ++
 | |
|     # Packages from bsc
 | |
|     [ groff paraver icc nix openssh git cn6 ];
 | |
| 
 | |
|   # inputsFrom to get build dependencies
 | |
| 
 | |
|   shellHook = ''
 | |
|     alias l="ls -l --color=auto -v"
 | |
|     alias ll="ls -l --color=auto -v"
 | |
|     alias lh="ls -hAl --color=auto -v"
 | |
|     alias ls="ls --color=auto -v"
 | |
|     alias ..="cd .."
 | |
| 
 | |
|     export LANG=C
 | |
|     export SHELL=${bash}/bin/bash
 | |
| 
 | |
|     echo Welcome to the garlic shell
 | |
|   '';
 | |
| }
 |