From e7040637e5ea16a61523b2187f56e1b40d32fec8 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 4 Jan 2019 19:33:49 +0000 Subject: [PATCH] ahoviewer: link with pthread explicitly --- pkgs/applications/graphics/ahoviewer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/graphics/ahoviewer/default.nix b/pkgs/applications/graphics/ahoviewer/default.nix index 52df41c683c..6668bc42a8b 100644 --- a/pkgs/applications/graphics/ahoviewer/default.nix +++ b/pkgs/applications/graphics/ahoviewer/default.nix @@ -29,6 +29,10 @@ stdenv.mkDerivation rec { gst_all_1.gst-plugins-base ] ++ stdenv.lib.optional useUnrar unrar; + NIX_LDFLAGS = [ + "-lpthread" + ]; + postPatch = ''patchShebangs version.sh''; postInstall = ''