Unverified Commit 42f263f2 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

zlog: fix build (#451340)

parents 4c138146 620a816f
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
}:

@@ -16,6 +17,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-79yyOGKgqUR1KI2+ngZd7jfVcz4Dw1IxaYfBJyjsxYc=";
  };

  patches = [
    # upgrade cmake minimum version
    (fetchpatch {
      url = "https://github.com/HardySimpson/zlog/commit/3715879775f725260aeda14f94887bbc7a007e29.patch?full_index=1";
      hash = "sha256-RCI+jZauSO0O0ETjs0nUd4CC2wLLVsjH8iuOmIgWhck=";
    })
  ];

  nativeBuildInputs = [ cmake ];

  meta = {