From 4bdf36d1560d722b13f0a90aeacdc6afe71d9c68 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 4 Jan 2019 19:33:49 +0000 Subject: [PATCH] aegisub: link with pthread explicitly --- pkgs/applications/video/aegisub/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix index 3dd0cc5adc29..d4208aee62e0 100644 --- a/pkgs/applications/video/aegisub/default.nix +++ b/pkgs/applications/video/aegisub/default.nix @@ -48,6 +48,12 @@ stdenv.mkDerivation rec { hardeningDisable = [ "bindnow" "relro" ]; + # this is fixed upstream though not yet in an officially released version, + # should be fine remove on next release (if one ever happens) + NIX_LDFLAGS = [ + "-lpthread" + ]; + postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub"; meta = {