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 09:07:54 +01: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 10:28:11 +01:00
export SHELL=${bash}/bin/bash
echo Welcome to the garlic shell
'';
}