uhdm: add patch to fix darwin build

This commit is contained in:
Matt Huszagh 2022-10-03 11:35:48 -07:00
parent 49d8092132
commit 16f8a4b3e7

View file

@ -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";