From 7bd85e3708a98cfdf748d5d737a513e36cebfb1e Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 24 Mar 2025 05:38:42 +0200 Subject: [PATCH] ocamlPackages.janestreet_cpuid: fix for GCC 14 --- pkgs/development/ocaml-modules/janestreet/0.17.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/janestreet/0.17.nix b/pkgs/development/ocaml-modules/janestreet/0.17.nix index f4a515c58f54..86894ec90da9 100644 --- a/pkgs/development/ocaml-modules/janestreet/0.17.nix +++ b/pkgs/development/ocaml-modules/janestreet/0.17.nix @@ -765,6 +765,10 @@ with self; janestreet_cpuid = janePackage { pname = "janestreet_cpuid"; hash = "sha256-3ZwEZQSkJJyFW5/+C9x8nW6+GrfVwccNFPlcs7qNcjQ="; + patches = fetchpatch { + url = "https://github.com/janestreet/janestreet_cpuid/commit/55223d9708388fe990553669d881f78a811979b9.patch"; + hash = "sha256-aggT6GGMkQj4rRkSZK4hoPRzEfpC8z9qnIROptMDf9E="; + }; meta.description = "A library for parsing CPU capabilities out of the `cpuid` instruction"; propagatedBuildInputs = [ core