From b8282c864fad740ea764c7fba3686c80a3fe6c5d Mon Sep 17 00:00:00 2001 From: Andreas Wendleder Date: Thu, 5 Feb 2026 17:55:59 +0100 Subject: [PATCH] acl2: fix community books certification Add upstream patch be39e78 to fix a regression in the input-files macro which caused kestrel/c/syntax tests to fail during build. --- pkgs/development/interpreters/acl2/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/interpreters/acl2/default.nix b/pkgs/development/interpreters/acl2/default.nix index 0b900710c785..f00f08cc080d 100644 --- a/pkgs/development/interpreters/acl2/default.nix +++ b/pkgs/development/interpreters/acl2/default.nix @@ -3,6 +3,7 @@ stdenv, callPackage, fetchFromGitHub, + fetchpatch, runCommandLocal, makeWrapper, replaceVars, @@ -50,6 +51,12 @@ stdenv.mkDerivation rec { libipasir = callPackage ./libipasirglucose4 { }; patches = [ + # The upstream fix for the input-files macro regression + (fetchpatch { + url = "https://github.com/acl2/acl2/commit/be39e7835f1c68008c17188d2f65eeaef61632fa.patch"; + sha256 = "sha256-pZ/r0vlyJz7ymYfrVtHDxsLdw0M/MJStBH42ZLO7Fs4="; + }) + (replaceVars ./0001-path-changes-for-nix.patch { libipasir = "${libipasir}/lib/${libipasir.libname}"; libssl = "${lib.getLib openssl}/lib/libssl${stdenv.hostPlatform.extensions.sharedLibrary}";