icestorm: fix chipdb location for icebox_vlog

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2018-02-14 16:09:42 -06:00
parent 9857545446
commit fa8f4b187f

View File

@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
buildInputs = [ python3 libftdi ];
makeFlags = [ "PREFIX=$(out)" ];
# fix icebox_vlog chipdb path. icestorm issue:
# https://github.com/cliffordwolf/icestorm/issues/125
patchPhase = ''
substituteInPlace ./icebox/icebox_vlog.py \
--replace /usr/local/share "$out/share"
'';
meta = {
description = "Documentation and tools for Lattice iCE40 FPGAs";
longDescription = ''