diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ea10343be091..6866f4fd661a 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.