Filter more nix sources that shouldn't pollute the haskell build.

This commit is contained in:
John Ericson 2019-12-09 18:56:55 +00:00
parent c075e3659e
commit 22bdea0013

View File

@ -13,7 +13,12 @@
mkDerivation {
pname = "reflex";
version = "0.6.2.4";
src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [
"default.nix"
"release.nix"
".git"
"dist"
])) ./.;
libraryHaskellDepends = [
base bifunctors containers dependent-map dependent-sum
exception-transformers lens