about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorFabian Möller <fabianm88@gmail.com>2020-03-15 16:23:23 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2020-03-15 17:16:11 +0100
commite7f2ad0db9d9fc281539e8104f1799fd7eb7a511 (patch)
tree7084716c5949a6d02609ff235eb8fd38eac61e4b /pkgs/applications/networking
parent7a1c9d8eb77c6304b3c8d787492fd24b8a8b6a25 (diff)
downloadnixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar.gz
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar.bz2
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar.lz
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar.xz
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.tar.zst
nixlib-e7f2ad0db9d9fc281539e8104f1799fd7eb7a511.zip
wireshark: use relative cmake LIBDIR
`wireshark` expects `CMAKE_INSTALL_LIBDIR` to be relative and prefixes
it with `CMAKE_INSTALL_PREFIX` in some places to make it absolute.
This results in duplicate absolute paths being accessed, which don't exist.

Making `CMAKE_INSTALL_LIBDIR` relative fixes this issue.
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/sniffers/wireshark/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix
index 1dbc49512c6e..fe84787c21a7 100644
--- a/pkgs/applications/networking/sniffers/wireshark/default.nix
+++ b/pkgs/applications/networking/sniffers/wireshark/default.nix
@@ -26,6 +26,8 @@ in stdenv.mkDerivation {
   cmakeFlags = [
     "-DBUILD_wireshark=${if withQt then "ON" else "OFF"}"
     "-DENABLE_APPLICATION_BUNDLE=${if withQt && stdenv.isDarwin then "ON" else "OFF"}"
+    # Fix `extcap` and `plugins` paths. See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16444
+    "-DCMAKE_INSTALL_LIBDIR=lib"
   ];
 
   nativeBuildInputs = [