boon/shell.nix

16 lines
499 B
Nix
Raw Normal View History

2016-11-15 21:35:36 +01:00
{ nixpkgs ? import <nixpkgs> {}, compiler ? "ghc801" }:
with (import <nixpkgs> {}).pkgs;
let hp = haskell.packages.${compiler}.override{
overrides = self: super: {
lp-diagrams = self.callPackage ./lp-diagrams.nix {};
marxup = self.callPackage ./marxup.nix {};
};};
locpkg = hp.callPackage ./default.nix { };
in stdenv.mkDerivation {
name = locpkg.name;
buildInputs = locpkg.buildInputs ++ [ z3 ];
shellHook = ''
2016-08-30 22:32:31 +02:00
export LANG=en_US.UTF-8
'';
2016-11-15 21:35:36 +01:00
}