summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-09 09:17:16 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-12-09 09:17:16 +0100
commit729053118c4af6039a3743fc6d21935655c62a3c (patch)
treee53f647ce1c3a5f68a5cf076cac127e02508fda9
parent1b56431115a54228f27ae573d9f64d57502ff639 (diff)
downloaddirty-haskell.org-729053118c4af6039a3743fc6d21935655c62a3c.tar
dirty-haskell.org-729053118c4af6039a3743fc6d21935655c62a3c.tar.gz
dirty-haskell.org-729053118c4af6039a3743fc6d21935655c62a3c.tar.bz2
dirty-haskell.org-729053118c4af6039a3743fc6d21935655c62a3c.tar.xz
dirty-haskell.org-729053118c4af6039a3743fc6d21935655c62a3c.zip
More succinct sourceFilter
-rw-r--r--default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index ec776eb..fd258bd 100644
--- a/default.nix
+++ b/default.nix
@@ -4,7 +4,7 @@
4with pkgs.lib; 4with pkgs.lib;
5 5
6let 6let
7 sourceFilter = path: type: ((hasSuffix ".hs" path) || (baseNameOf path == "src") || (baseNameOf path == "blog.cabal")); 7 sourceFilter = path: type: (hasPrefix (toString ./src ) path || (baseNameOf path == "blog.cabal"));
8in rec { 8in rec {
9 haskellPackages = pkgs.haskellPackages.override { 9 haskellPackages = pkgs.haskellPackages.override {
10 overrides = self : super : { 10 overrides = self : super : {