garlic: add shell with the garlic tools

This commit is contained in:
Rodrigo Arias 2021-02-15 16:22:06 +01:00
parent cb5bcd7097
commit 0e0bf9e7a7

28
garlic/shell.nix Normal file
View 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
'';
}