bscpkgs/garlic/shell.nix

30 lines
561 B
Nix
Raw Normal View History

{ pkgs ? import ./. }:
with pkgs;
with bsc;
mkShell {
name = "garlic-shell";
buildInputs =
# Packages from garlic
(with garlic; [ tool garlicd ]) ++
# Packages from bsc
2021-02-15 17:44:20 +01:00
[ 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
2021-02-17 10:28:11 +01:00
export SHELL=${bash}/bin/bash
echo Welcome to the garlic shell
'';
}