From a3dfde6476777a99efb94a701b53db62f375be91 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Sat, 20 Mar 2021 12:21:56 +0100 Subject: [PATCH] haskellPackages.libmodbus: fix (lib)modbus system dependency --- pkgs/development/haskell-modules/configuration-common.nix | 5 +++++ .../haskell-modules/configuration-hackage2nix.yaml | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ae1238d77b2..3082e0ca914 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1728,6 +1728,11 @@ self: super: { sha256 = "0pmx54xd7ah85y9mfi5366wbnwrp918j0wbx8yw8hrdac92qi4gh"; }); + # list `modbus` in librarySystemDepends, correct to `libmodbus` + libmodbus = overrideCabal super.libmodbus (drv: { + librarySystemDepends = [ pkgs.libmodbus ]; + }); + # 2021-04-02: Outdated optparse-applicative bound is fixed but not realeased on upstream. trial-optparse-applicative = assert super.trial-optparse-applicative.version == "0.0.0.0"; doJailbreak super.trial-optparse-applicative; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 9149f6ad0e9..bd6a84843a8 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -7696,7 +7696,6 @@ broken-packages: - liblawless - liblinear-enumerator - libltdl - - libmodbus - libmolude - libnix - liboath-hs