whois: make it read /etc/whois.conf
Add CONFIG_FILE=/etc/whois.conf to makeFlags so whois actually reads the system configuration file. Without this flag, /etc/whois.conf is ignored. Matches Debian and Arch Linux packaging. Link: https://github.com/rfc1036/whois/blob/next/debian/rules Link: https://gitlab.archlinux.org/archlinux/packaging/packages/whois/-/blob/main/PKGBUILD Signed-off-by: Cryolitia PukNgae <Cryolitia@gmail.com>
This commit is contained in:
@@ -50,7 +50,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
done
|
||||
'';
|
||||
|
||||
makeFlags = [ "HAVE_ICONV=1" ];
|
||||
makeFlags = [
|
||||
"HAVE_ICONV=1"
|
||||
"CONFIG_FILE=/etc/whois.conf"
|
||||
];
|
||||
buildFlags = [ "whois" ];
|
||||
|
||||
installTargets = [ "install-whois" ];
|
||||
|
||||
Reference in New Issue
Block a user