···53 nox)
54 echo "=== Fetching Nox from binary cache"
5556- # build nox silently so it's not in the log
57- nix-build "<nixpkgs>" -A nox -A stdenv
58 ;;
5960 pr)
···53 nox)
54 echo "=== Fetching Nox from binary cache"
5556+ # build nox (+ a basic nix-shell env) silently so it's not in the log
57+ nix-shell -p nox stdenv --command true
58 ;;
5960 pr)
···1516 buildInputs = [ pkgconfig utillinux man ] ++ stdenv.lib.optional enableCgiScripts gd;
170000018 # ./configure ignores --prefix, so we must specify some paths manually
19 # There is no real reason for a bin/sbin split, so just use bin.
20 preConfigure = ''
···1516 buildInputs = [ pkgconfig utillinux man ] ++ stdenv.lib.optional enableCgiScripts gd;
1718+ prePatch = ''
19+ sed -e "s,\$(INSTALL_PROGRAM) \$(STRIP),\$(INSTALL_PROGRAM)," \
20+ -i ./src/apcagent/Makefile ./autoconf/targets.mak
21+ '';
22+23 # ./configure ignores --prefix, so we must specify some paths manually
24 # There is no real reason for a bin/sbin split, so just use bin.
25 preConfigure = ''
+2-1
pkgs/servers/dns/knot-dns/default.nix
···1{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
2-, systemd, nettle, libedit, zlib, libiconv, fetchpatch
3}:
45let inherit (stdenv.lib) optional optionals; in
···25 ]
26 # Use embedded lmdb there for now, as detection is broken on Darwin somehow.
27 ++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
028 ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
2930 # Not ideal but seems to work on Linux.
···1{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
2+, systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty
3}:
45let inherit (stdenv.lib) optional optionals; in
···25 ]
26 # Use embedded lmdb there for now, as detection is broken on Darwin somehow.
27 ++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
28+ ++ libintlOrEmpty
29 ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
3031 # Not ideal but seems to work on Linux.
···21 enableMinimal = true;
22 extraConfig = ''
23 CONFIG_ASH y
24- CONFIG_ASH_BUILTIN_ECHO y
25- CONFIG_ASH_BUILTIN_TEST y
26 CONFIG_ASH_OPTIMIZE_FOR_SIZE y
27 CONFIG_MKDIR y
28 CONFIG_TAR y
···21 enableMinimal = true;
22 extraConfig = ''
23 CONFIG_ASH y
24+ CONFIG_ASH_ECHO y
25+ CONFIG_ASH_TEST y
26 CONFIG_ASH_OPTIMIZE_FOR_SIZE y
27 CONFIG_MKDIR y
28 CONFIG_TAR y