diff --git a/horizon.dhall b/horizon.dhall index 42dadeabe36816f917e67c14cdc81688bda2f539..a71f80dca76fb85197d92a4a77bfa6a60271e8bc 100644 --- a/horizon.dhall +++ b/horizon.dhall @@ -772,7 +772,11 @@ let packages = , mono-traversable = H.callHackage "mono-traversable" "1.0.15.3" , monoid-extras = H.callHackage "monoid-extras" "0.6.2" , monoid-subclasses = H.callHackage "monoid-subclasses" "1.1.3" - , monoidal-containers = H.callHackage "monoidal-containers" "0.6.3.0" + , monoidal-containers = + H.callGit + "https://github.com/locallycompact/monoidal-containers" + "977140aed7f850ca4e73090475b0f7ff02a7a92e" + (None H.Subdir) , mtl-compat = H.callHackage "mtl-compat" "0.2.2" , mtl-prelude = H.callHackage "mtl-prelude" "2.0.3.1" , multiset = H.callHackage "multiset" "0.3.4.3" diff --git a/pkgs/monoidal-containers.nix b/pkgs/monoidal-containers.nix index 21856c6d352c93d7ffa1023ecac644895e150adc..2720e18dc2acd33f6c889c1a125a19e4f556b788 100644 --- a/pkgs/monoidal-containers.nix +++ b/pkgs/monoidal-containers.nix @@ -1,36 +1,22 @@ -{ mkDerivation -, aeson -, base -, containers -, deepseq -, hashable -, lens -, lib -, newtype -, semialign -, these -, unordered-containers -, witherable +{ mkDerivation, aeson, base, containers, deepseq, fetchgit +, hashable, lens, lib, newtype, semialign, these +, unordered-containers, witherable }: mkDerivation { pname = "monoidal-containers"; version = "0.6.3.0"; - sha256 = "047e86f1d31c56c8aee60eaff340b57340b1aa9a29f9ecf64679cb9141f98154"; + src = fetchgit { + url = "https://github.com/locallycompact/monoidal-containers"; + sha256 = "19093cl6v8wlpmmxmk2s88pr0fz51pvhbci4i42frnlfxgqaw0b1"; + rev = "977140aed7f850ca4e73090475b0f7ff02a7a92e"; + fetchSubmodules = true; + }; isLibrary = true; isExecutable = false; enableSeparateDataOutput = false; libraryHaskellDepends = [ - aeson - base - containers - deepseq - hashable - lens - newtype - semialign - these - unordered-containers - witherable + aeson base containers deepseq hashable lens newtype semialign these + unordered-containers witherable ]; enableLibraryProfiling = true; enableExecutableProfiling = true; @@ -43,4 +29,4 @@ mkDerivation { description = "Containers with monoidal accumulation"; license = lib.licenses.bsd3; broken = false; -} +} \ No newline at end of file