sbclPackages.cl-gobject-introspection: apply patch for recent SBCL

This commit is contained in:
Kasper Gałkowski 2024-06-22 17:35:10 +02:00
parent 2a5ff80275
commit a490a01f74
2 changed files with 13 additions and 2 deletions

View File

@ -220,8 +220,12 @@ let
javaLibs = lib.optionals isJVM args.javaLibs or [];
in {
pname = "${args.pkg.pname}-${args.pname}";
src = if builtins.length (args.patches or []) > 0
then pkgs.applyPatches { inherit (args) src patches; }
src = if args?patches || args?postPatch
then pkgs.applyPatches {
inherit (args) src;
patches = args.patches or [];
postPatch = args.postPatch or "";
}
else args.src;
patches = [];
inherit javaLibs;

View File

@ -75,6 +75,13 @@ let
};
};
cl-gobject-introspection = super.cl-gobject-introspection.overrideLispAttrs (o: {
postPatch = ''
substituteInPlace src/init.lisp \
--replace sb-ext::set-floating-point-modes sb-int:set-floating-point-modes
'';
});
jzon = super.com_dot_inuoe_dot_jzon;
cl-notify = build-asdf-system {