From d66e4c71fc81fa8197133a215b69366d95675981 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Sun, 22 Nov 2015 14:16:35 -0600 Subject: [PATCH] Ncftp manpage /usr/local workaround ncftp appears to not properly honor PREFIX in its manpage target and tries to install them to /usr/local Work around this by adding --mandir to its configure flags. --- pkgs/tools/networking/ncftp/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/ncftp/default.nix b/pkgs/tools/networking/ncftp/default.nix index 2dcfd09bb77..c83bc61bbcd 100644 --- a/pkgs/tools/networking/ncftp/default.nix +++ b/pkgs/tools/networking/ncftp/default.nix @@ -23,10 +23,12 @@ stdenv.mkDerivation { sed 's@/bin/rm@${coreutils}/bin/rm@g' -i configure ''; + configureFlags = [ "--mandir=$out/share/man/" ]; + meta = with stdenv.lib; { description = "Command line FTP (File Transfer Protocol) client"; homepage = http://www.ncftp.com/ncftp/; - platforms = platforms.linux; + platforms = platforms.unix; maintainers = [ maintainers.bjornfor ]; }; }