haskell/Glob: fix build

This commit is contained in:
Benno Fünfstück 2016-07-22 22:55:55 +02:00
parent 70a2278e18
commit 2e48d838d0

View File

@ -947,4 +947,8 @@ self: super: {
sha256 = "1yh2g45mkfpwxq0vyzcbc4nbxh6wmb2xpp0k7r5byd8jicgvli29";
});
# Glob depends conditionally on semigroups for GHC < 8
Glob = if pkgs.lib.versionAtLeast self.ghc.version "8.0"
then super.Glob
else addBuildDepend super.Glob self.semigroups;
}