diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-02-14 16:09:42 -0600 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-02-14 16:11:01 -0600 |
commit | fa8f4b187f703950a9e3119549d264ff7e233123 (patch) | |
tree | 34f949d0c1b4ee7879400b6fb3c2de17a88cbfc9 /pkgs/development/tools | |
parent | 9857545446b76a23940bd4d3ab69470e256fe61f (diff) | |
download | nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar.gz nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar.bz2 nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar.lz nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar.xz nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.tar.zst nixlib-fa8f4b187f703950a9e3119549d264ff7e233123.zip |
icestorm: fix chipdb location for icebox_vlog
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/icestorm/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/tools/icestorm/default.nix b/pkgs/development/tools/icestorm/default.nix index 6351a01501d3..0307027faa2e 100644 --- a/pkgs/development/tools/icestorm/default.nix +++ b/pkgs/development/tools/icestorm/default.nix @@ -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 = '' |