uhdm: add patch to fix darwin build
This commit is contained in:
parent
49d8092132
commit
16f8a4b3e7
1 changed files with 6 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue