summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2015-05-10 12:46:21 +0300
committerMichael Raskin <7c6f434c@mail.ru>2015-05-10 13:36:47 +0300
commita54e796cffbf26214a5c7f1fa3f3204952f28b74 (patch)
treef77bc4a7def228365a592bb809dc5007315a38ea /pkgs
parent47c2726363ea670773616c06fecd17c2b490e3aa (diff)
downloadnixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar.gz
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar.bz2
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar.lz
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar.xz
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.tar.zst
nixpkgs-a54e796cffbf26214a5c7f1fa3f3204952f28b74.zip
Explicitly pass -pthread flag to fix the build after some updates
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/kerberos/heimdal.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kerberos/heimdal.nix b/pkgs/development/libraries/kerberos/heimdal.nix
index aeea290bdb2..320e161d3da 100644
--- a/pkgs/development/libraries/kerberos/heimdal.nix
+++ b/pkgs/development/libraries/kerberos/heimdal.nix
@@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
     "--without-x"
   ];
 
+  preConfigure = ''
+    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -pthread"
+  '';
+
   # We need to build hcrypt for applications like samba
   postBuild = ''
     (cd lib/hcrypto; make)