TDT4165-Scala-Project/shell.nix

14 lines
340 B
Nix
Raw Normal View History

2022-10-14 15:11:27 +02:00
{ pkgs ? import <nixpkgs> {}, ... }:
pkgs.mkShell {
packages = with pkgs; [
scala
sbt
];
shellHook = ''
export PS1="\[\e[31m\][\[\e[m\]\[\e[35m\]l\[\e[m\]\[\e[33m\]m\[\e[m\]\[\e[32m\]a\[\e[m\]\[\e[36m\]o\[\e[m\]\[\e[34m\]>\[\e[m\] "
'';
# TODO: move the ivy2 package cache here so it doesn't mess up the home dir.
}