Have nix ignore dist (can be created by leksah)
commitbd6bc7146ae334417d6cd3fefb0f9a609ca52871
authorHamish Mackenzie <Hamish.K.Mackenzie@googlemail.com>
dateThu 16 Feb 2017, 02:07 (10 years ago)
parentc2dcb81
reflex-dom-core/default.nix+1−1
@@ -10,7 +10,7 @@
1010mkDerivation {
1111 pname = "reflex-dom-core";
1212 version = "0.3";
13− src = builtins.filterSource (path: type: baseNameOf path != ".git") ./.;
13+ src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
1414 buildDepends = [
1515 aeson
1616 bifunctors
reflex-dom/default.nix+1−1
@@ -4,7 +4,7 @@
44mkDerivation {
55 pname = "reflex-dom";
66 version = "0.4";
7− src = ./.;
7+ src = builtins.filterSource (path: type: !(builtins.elem (baseNameOf path) [ ".git" "dist" ])) ./.;
88 libraryHaskellDepends = [
99 base bytestring reflex reflex-dom-core text
1010 ] ++ (if ghc.isGhcjs or false then [