summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorRichard Marko <srk@48.io>2021-03-20 12:21:56 +0100
committersterni <sternenseemann@systemli.org>2021-04-09 15:17:28 +0200
commita3dfde6476777a99efb94a701b53db62f375be91 (patch)
treea13da245720fa09e908b1b02d088b3e7a8ca7daa /pkgs/development/haskell-modules/configuration-common.nix
parent6fe82e59ee1b2a877ded418069b49eb6f8496baf (diff)
downloadnixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar.gz
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar.bz2
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar.lz
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar.xz
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.tar.zst
nixpkgs-a3dfde6476777a99efb94a701b53db62f375be91.zip
haskellPackages.libmodbus: fix (lib)modbus system dependency
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 5 insertions, 0 deletions
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;