summary refs log tree commit diff
path: root/pkgs/applications/video/aegisub
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/aegisub')
-rw-r--r--pkgs/applications/video/aegisub/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index 3dd0cc5adc2..d4208aee62e 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 = {