Commit 052c4a65 authored by Cryolitia PukNgae's avatar Cryolitia PukNgae
Browse files

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: default avatarCryolitia PukNgae <Cryolitia@gmail.com>
parent 454d1f4b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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" ];