ocamlPackages.patricia-tree: fix for gcc15
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
ocaml,
|
||||
buildDunePackage,
|
||||
fetchFromGitHub,
|
||||
findlib,
|
||||
@@ -14,6 +15,11 @@ buildDunePackage rec {
|
||||
|
||||
minimalOCamlVersion = "4.14";
|
||||
|
||||
# Fix build with gcc15
|
||||
env = lib.optionalAttrs (lib.versions.majorMinor ocaml.version == "5.0") {
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu11";
|
||||
};
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "codex-semantics-library";
|
||||
repo = "patricia-tree";
|
||||
|
||||
Reference in New Issue
Block a user