summary refs log tree commit diff
path: root/pkgs/tools/networking/lftp
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2019-02-20 20:02:34 +0000
committerOrivej Desh <orivej@gmx.fr>2019-02-20 20:11:15 +0000
commitd7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a (patch)
tree2f2bedc190a3cd75694c19bf2f29c1e8d5d5726d /pkgs/tools/networking/lftp
parent5a4c8092c008f5ae64a9b2bc904242819fb2acfb (diff)
downloadnixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar.gz
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar.bz2
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar.lz
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar.xz
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.tar.zst
nixpkgs-d7f4b13ccf1179c030a79288ea4fe9cbd0d55b0a.zip
lftp: do not look for expat and zlib in /usr/include
This behaviour affects builds without sandboxing.
Diffstat (limited to 'pkgs/tools/networking/lftp')
-rw-r--r--pkgs/tools/networking/lftp/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/networking/lftp/default.nix b/pkgs/tools/networking/lftp/default.nix
index bb627f49971..b4886f58cbb 100644
--- a/pkgs/tools/networking/lftp/default.nix
+++ b/pkgs/tools/networking/lftp/default.nix
@@ -21,10 +21,14 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     "--with-readline=${readline.dev}"
+    "--with-zlib=${zlib.dev}"
+    "--without-expat"
   ];
 
   installFlags = [ "PREFIX=$(out)" ];
 
+  enableParallelBuilding = true;
+
   meta = with stdenv.lib; {
     description = "A file transfer program supporting a number of network protocols";
     homepage = https://lftp.tech/;