From e7f2ad0db9d9fc281539e8104f1799fd7eb7a511 Mon Sep 17 00:00:00 2001 From: Fabian Möller Date: Sun, 15 Mar 2020 16:23:23 +0100 Subject: 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. --- pkgs/applications/networking/sniffers/wireshark/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/networking') 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 = [ -- cgit 1.4.1