summaryrefslogtreecommitdiff
path: root/ss2017/cryptography/Sheet01/shell.nix
blob: 5f84e18215a8c971038b87b66e06b4957850aa7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs ? (import <nixpkgs> {})
}:

pkgs.stdenv.mkDerivation rec {
  name = "substitution-env";
  buildInputs = [ (pkgs.haskellPackages.ghcWithPackages (p:
                    with p; [ case-insensitive containers
                            ]))
                ];
  shellHook = ''
    export PROMPT_INFO="${name}"
  '';
}