Commit 16f8a4b3 authored by Matt Huszagh's avatar Matt Huszagh
Browse files

uhdm: add patch to fix darwin build

parent 49d80921
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -33,6 +33,12 @@ stdenv.mkDerivation rec {
    rm -rf $out/lib/uhdm
  '';

  prePatch = ''
    substituteInPlace CMakeLists.txt --replace \
    'capnp compile' \
    'capnp compile --src-prefix=''${GENDIR}/..'
  '';

  meta = {
    description = "Universal Hardware Data Model";
    homepage = "https://github.com/chipsalliance/UHDM";