1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-21 03:23:20 +00:00

Explicitly pass -pthread flag to fix the build after some updates

This commit is contained in:
Michael Raskin 2015-05-10 12:46:21 +03:00
parent 47c2726363
commit a54e796cff

View file

@ -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)