From bf4d1f2c15b1b5f5cf613ec2d22bd8ed0faacfdb Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 29 Jun 2018 02:18:59 +0200 Subject: [PATCH] bustle: fix build --- pkgs/development/haskell-modules/configuration-common.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1cc9dd6451c..6cc6945bae4 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -598,7 +598,13 @@ self: super: { bustle = overrideCabal super.bustle (drv: { buildDepends = [ pkgs.libpcap ]; buildTools = with pkgs; [ gettext perl help2man intltool ]; - doCheck = false; # https://github.com/wjt/bustle/issues/6 + patches = [ + # Add missing gio-unix-2.0 dependency + (pkgs.fetchpatch { + url = https://github.com/wjt/bustle/commit/bcc3d56d367635c0dfdb4eab0d1265829aba6400.patch; + sha256 = "1ybviivfbs5janiyw01ww365vxckni6fk0j10609clxk4na2nvb9"; + }) + ]; postInstall = '' make install PREFIX=$out '';