2019-12-09 23:47:01 +00:00
|
|
|
{ pkgs ? import <nixpkgs> (import (builtins.fetchTarball https://github.com/input-output-hk/haskell.nix/archive/master.tar.gz))
|
|
|
|
, haskellCompiler ? "ghc865"
|
2019-12-23 05:34:46 +00:00
|
|
|
, lib ? pkgs.lib
|
|
|
|
, config ? pkgs.config
|
2019-12-09 23:47:01 +00:00
|
|
|
}:
|
|
|
|
pkgs.haskell-nix.cabalProject {
|
2019-12-26 08:28:19 +00:00
|
|
|
#src = pkgs.haskell-nix.haskellLib.cleanGit { src = ./.; };
|
|
|
|
src = pkgs.haskell-nix.haskellLib.cleanGit { src = pkgs.nix-gitignore.gitignoreSource [] ./.; };
|
2019-12-09 23:47:01 +00:00
|
|
|
ghc = pkgs.buildPackages.pkgs.haskell-nix.compiler.${haskellCompiler};
|
|
|
|
}
|