-
Notifications
You must be signed in to change notification settings - Fork 1
/
shell.nix
29 lines (25 loc) · 980 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# { nixpkgs ? import <nixpkgs> {} }:
let distro = fetchTarball "https://github.com/NixOS/nixpkgs/archive/4a2340ff6bd0474d9a3e933f28b8568c59019b82.tar.gz";
# fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.09.tar.gz # CGI broken here (and GF strangely depends on it)
in with import distro {};
let myGHC = haskellPackages.ghcWithPackages
(haskellPackages: with haskellPackages; [
# libraries
parsek
# tools
cabal-install
mtl
split
logict
monadplus
scalpel pretty-show # to scrape answers from fracas.xml
]);
in stdenv.mkDerivation {
name = "fracoq-env-0";
buildInputs = [
coq haskellPackages.gf myGHC
];
shellHook = ''
export LANG=en_US.UTF-8
'';
}