bscpkgs/garlic/shell.nix
2021-04-01 19:25:24 +02:00

30 lines
586 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 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
export SHELL=${bash}/bin/bash
echo Welcome to the garlic shell
'';
}