From b10288eaa556ee119a80251bc5f1b02857f57a69 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Sat, 12 Mar 2016 18:57:42 +0100 Subject: [PATCH] haskell-hs-blake2: fix dependency on libb2 `hs-blake2` currently wrongly depends on `pkgs.b2` which is an application for backblazes storage service. This patch overrides it to link against its correct native library `pkgs.libb2`. --- pkgs/development/haskell-modules/configuration-common.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 01c0298b0f0..34ed3bb19db 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -46,6 +46,9 @@ self: super: { # The package doesn't compile with ruby 1.9, which is our default at the moment. hruby = super.hruby.override { ruby = pkgs.ruby_2_1; }; + # help blake finding its native library + hs-blake2 = super.hs-blake2.override { b2 = pkgs.libb2; }; + # Use the default version of mysql to build this package (which is actually mariadb). mysql = super.mysql.override { mysql = pkgs.mysql.lib; };