From 46b7ce62b380746e610938421e3476e7d56f0d1e Mon Sep 17 00:00:00 2001 From: aleksana Date: Fri, 26 Dec 2025 15:06:46 +0800 Subject: [PATCH] isc-cron: fix build with gcc 15 --- pkgs/by-name/is/isc-cron/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/is/isc-cron/package.nix b/pkgs/by-name/is/isc-cron/package.nix index fb9b58c586f7..21409812255b 100644 --- a/pkgs/by-name/is/isc-cron/package.nix +++ b/pkgs/by-name/is/isc-cron/package.nix @@ -1,5 +1,6 @@ { lib, + fetchpatch, fetchurl, stdenv, replaceVars, @@ -28,6 +29,11 @@ stdenv.mkDerivation (finalAttrs: { "/bin" ]; }) + # Fix build with gcc 15 + (fetchpatch { + url = "https://github.com/vixie/cron/commit/3ce0c3acdf086a82638818635961c70cba2b6ba7.patch"; + hash = "sha256-d1vN3TGAAOMlWpMZKnHU/RlZ5pBOl3+IXjZ4UALVqLI="; + }) ]; makeFlags = [