mirror of
https://github.com/grin-compiler/grin.git
synced 2024-09-11 07:25:28 +03:00
22 lines
424 B
Nix
22 lines
424 B
Nix
{ 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;
|
|
});
|
|
};
|
|
modifier = drv: hlib.addBuildTools drv [
|
|
(import nix/llvm.nix {})
|
|
pkgs.llvm_7
|
|
];
|
|
returnShellEnv = false;
|
|
}
|