···3333 nativeBuildInputs = lib.optionals guileSupport [ pkg-config ];
3434 buildInputs = lib.optionals guileSupport [ guile ];
35353636- configureFlags =
3737- lib.optional guileSupport "--with-guile"
3838-3939- # Make uses this test to decide whether it should keep track of
4040- # subseconds. Apple made this possible with APFS and macOS 10.13.
4141- # However, we still support macOS 10.11 and 10.12. Binaries built
4242- # in Nixpkgs will be unable to use futimens to set mtime less than
4343- # a second. So, tell Make to ignore nanoseconds in mtime here by
4444- # overriding the autoconf test for the struct.
4545- # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
4646- ++ lib.optional stdenv.hostPlatform.isDarwin "ac_cv_struct_st_mtim_nsec=no";
3636+ configureFlags = lib.optional guileSupport "--with-guile";
47374838 outputs = [
4939 "out"
-6
pkgs/by-name/in/inetutils/package.nix
···3939 libxcrypt
4040 ];
41414242- env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
4343- # This is a temporary workaround for missing headers in the 10.12 SDK to avoid a mass rebuild.
4444- # A commit to revert this change will be included in the fix PR targeting staging.
4545- NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
4646- };
4747-4842 # Don't use help2man if cross-compiling
4943 # https://lists.gnu.org/archive/html/bug-sed/2017-01/msg00001.html
5044 # https://git.congatec.com/yocto/meta-openembedded/blob/3402bfac6b595c622e4590a8ff5eaaa854e2a2a3/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.1.bb#L44
···4343 ];
4444 buildInputs = lib.optionals guileEnabled [ guile ];
45454646- configureFlags =
4747- lib.optional guileEnabled "--with-guile"
4848-4949- # Make uses this test to decide whether it should keep track of
5050- # subseconds. Apple made this possible with APFS and macOS 10.13.
5151- # However, we still support macOS 10.11 and 10.12. Binaries built
5252- # in Nixpkgs will be unable to use futimens to set mtime less than
5353- # a second. So, tell Make to ignore nanoseconds in mtime here by
5454- # overriding the autoconf test for the struct.
5555- # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion.
5656- ++ lib.optional stdenv.hostPlatform.isDarwin "ac_cv_struct_st_mtim_nsec=no";
4646+ configureFlags = lib.optional guileEnabled "--with-guile";
57475848 outputs = [
5949 "out"