From 696513be2c8f4ab9c7afb210f6d0a0dd15a30cbf Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Apr 2015 21:03:30 +0200 Subject: [PATCH] haskell-mysql: manually pass the correct "lib" derivation Apparently, automatic propagation to "mysql" still doesn't work. Anyway, it's nicer to link "lib" only anyway. --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ea10343be09..6866f4fd661 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -26,7 +26,7 @@ self: super: { hslua = super.hslua.override { lua = pkgs.lua5_1; }; # Use the default version of mysql to build this package (which is actually mariadb). - mysql = super.mysql.override { inherit (pkgs) mysql; }; + mysql = super.mysql.override { mysql = pkgs.mysql.lib; }; # Please also remove optparse-applicative special case from # cabal2nix/hackage2nix.hs when removing the following.