From daf44055cd4275d2226474e7b4f9df0eed82c6cc Mon Sep 17 00:00:00 2001 From: obadz Date: Thu, 11 Aug 2016 16:41:06 +0100 Subject: [PATCH] haskellPackages.stunclient: fix build error due to changing exports in deps --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8641de87b38..5faceef8573 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -983,4 +983,11 @@ self: super: { })]; }); + # remove if a version > 0.1.0.1 ever gets released + stunclient = overrideCabal super.stunclient (drv: { + postPatch = (drv.postPatch or "") + '' + substituteInPlace source/Network/Stun/MappedAddress.hs --replace "import Network.Endian" "" + ''; + }); + }