garlic: add shell with the garlic tools
This commit is contained in:
parent
cb5bcd7097
commit
0e0bf9e7a7
28
garlic/shell.nix
Normal file
28
garlic/shell.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ 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 ];
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
echo Welcome to the garlic shell
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user