2019-02-10 00:36:11 +03:00
|
|
|
{ pkgs ? import nix/pkgs.nix }:
|
|
|
|
|
|
|
|
let
|
|
|
|
hlib = pkgs.haskell.lib;
|
|
|
|
hpkg = pkgs.haskell.packages.ghc844;
|
|
|
|
in
|
|
|
|
|
|
|
|
hpkg.developPackage {
|
|
|
|
root = ./grin;
|
|
|
|
overrides = self: super: {
|
|
|
|
Diff = hlib.dontCheck super.Diff;
|
|
|
|
llvm-hs = super.llvm-hs.override (oa: {
|
|
|
|
llvm-config = pkgs.llvm_7;
|
|
|
|
});
|
2019-12-08 13:55:28 +03:00
|
|
|
llvm-hs-pretty = hlib.unmarkBroken super.llvm-hs-pretty;
|
2019-02-10 00:36:11 +03:00
|
|
|
};
|
2019-02-10 14:06:07 +03:00
|
|
|
modifier = drv: hlib.addBuildTools drv [
|
|
|
|
(import nix/llvm.nix {})
|
2019-12-08 13:55:50 +03:00
|
|
|
pkgs.clang_7
|
2019-02-10 14:06:07 +03:00
|
|
|
pkgs.llvm_7
|
|
|
|
];
|
2019-02-10 00:36:11 +03:00
|
|
|
returnShellEnv = false;
|
|
|
|
}
|