about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPiotr Bogdan <ppbogdan@gmail.com>2019-01-05 07:47:15 +0000
committerPiotr Bogdan <ppbogdan@gmail.com>2019-01-07 16:37:26 +0000
commitd1fff1e9e819f62a7517511990c50126c59b2d8a (patch)
tree4bddd181c0a7a69e70bbc9a6804919477955b7dd
parent651ee38deaecdc16a54a51331e8af0419b30a16e (diff)
rxvt_unicode: fix build
-rw-r--r--pkgs/applications/misc/rxvt_unicode/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix
index 57ce1f0818010..2ae33a1eaa51d 100644
--- a/pkgs/applications/misc/rxvt_unicode/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode/default.nix
@@ -47,11 +47,11 @@ stdenv.mkDerivation (rec {
       configureFlags="--with-terminfo=$terminfo/share/terminfo --enable-256-color ${if perlSupport then "--enable-perl" else "--disable-perl"} ${if unicode3Support then "--enable-unicode3" else "--disable-unicode3"}";
       export TERMINFO=$terminfo/share/terminfo # without this the terminfo won't be compiled by tic, see man tic
       NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype.dev}/include/freetype2"
-      NIX_LDFLAGS="$NIX_LDFLAGS -lfontconfig -lXrender "
+      NIX_LDFLAGS="$NIX_LDFLAGS -lfontconfig -lXrender -lpthread "
     ''
     # make urxvt find its perl file lib/perl5/site_perl is added to PERL5LIB automatically
     + stdenv.lib.optionalString perlSupport ''
-      mkdir -p $(dirname ${perl.libPrefix})
+      mkdir -p $out/$(dirname ${perl.libPrefix})
       ln -s $out/lib/urxvt $out/${perl.libPrefix}
     '';