bscpkgs/garlic/shell.nix

30 lines
586 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-03-24 16:07:54 +08:00
[ groff paraver icc nix openssh git cn6 nix-diff clangOmpss2 gdb ];
# 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 17:28:11 +08:00
export SHELL=${bash}/bin/bash
echo Welcome to the garlic shell
'';
}