inetutils: fix service name

This commit is contained in:
Jörg Thalheim
2017-04-20 10:33:42 +02:00
parent 1aadcd712d
commit 67adf69a16
2 changed files with 18 additions and 3 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses, perl }:
{ stdenv, fetchurl, ncurses, perl, help2man }:
stdenv.mkDerivation rec {
name = "inetutils-1.9.4";
@@ -8,9 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy";
};
patches = [ ./whois-Update-Canadian-TLD-server.patch ];
patches = [
./whois-Update-Canadian-TLD-server.patch
./service-name.patch
];
buildInputs = [ ncurses /* for `talk' */ perl /* for `whois' */ ];
buildInputs = [ ncurses /* for `talk' */ perl /* for `whois' */ help2man ];
configureFlags = "--with-ncurses-include-dir=${ncurses.dev}/include";
@@ -18,6 +21,7 @@ stdenv.mkDerivation rec {
# $TMPDIR is too long.
#doCheck = true;
postInstall = ''
# XXX: These programs are normally installed setuid but since it
# fails, they end up being non-executable, hence this hack.