blob: 08799f6eeb6b8db0d301e18db6804c61b01bafa6 (
plain)
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
|
{ pkgs ? import <nixpkgs> { } }:
let
haskellPackages = pkgs.haskellPackages.override {
overrides = self: super: {
anissue = super.callCabal2nix "anissue" ./. {};
};
};
in
rec {
inherit (haskellPackages) anissue;
shell = haskellPackages.shellFor {
packages = _: [ anissue ];
buildInputs = [
haskellPackages.cabal-install
haskellPackages.ormolu
];
shellHook = ''
HISTFILE=${pkgs.lib.escapeShellArg ./.}/.history; export HISTFILE
'';
};
}
|