···5353 nox)
5454 echo "=== Fetching Nox from binary cache"
55555656- # build nox silently so it's not in the log
5757- nix-build "<nixpkgs>" -A nox -A stdenv
5656+ # build nox (+ a basic nix-shell env) silently so it's not in the log
5757+ nix-shell -p nox stdenv --command true
5858 ;;
59596060 pr)
···15151616 buildInputs = [ pkgconfig utillinux man ] ++ stdenv.lib.optional enableCgiScripts gd;
17171818+ prePatch = ''
1919+ sed -e "s,\$(INSTALL_PROGRAM) \$(STRIP),\$(INSTALL_PROGRAM)," \
2020+ -i ./src/apcagent/Makefile ./autoconf/targets.mak
2121+ '';
2222+1823 # ./configure ignores --prefix, so we must specify some paths manually
1924 # There is no real reason for a bin/sbin split, so just use bin.
2025 preConfigure = ''
+2-1
pkgs/servers/dns/knot-dns/default.nix
···11{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
22-, systemd, nettle, libedit, zlib, libiconv, fetchpatch
22+, systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty
33}:
4455let inherit (stdenv.lib) optional optionals; in
···2525 ]
2626 # Use embedded lmdb there for now, as detection is broken on Darwin somehow.
2727 ++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
2828+ ++ libintlOrEmpty
2829 ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
29303031 # Not ideal but seems to work on Linux.
···2121 enableMinimal = true;
2222 extraConfig = ''
2323 CONFIG_ASH y
2424- CONFIG_ASH_BUILTIN_ECHO y
2525- CONFIG_ASH_BUILTIN_TEST y
2424+ CONFIG_ASH_ECHO y
2525+ CONFIG_ASH_TEST y
2626 CONFIG_ASH_OPTIMIZE_FOR_SIZE y
2727 CONFIG_MKDIR y
2828 CONFIG_TAR y