symbiyosys: fix path to bash
This commit is contained in:
parent
e9b7e01828
commit
992150d37b
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, yosys, python3 }:
|
{ stdenv, fetchFromGitHub, yosys, bash, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "symbiyosys-${version}";
|
name = "symbiyosys-${version}";
|
||||||
@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace $out/bin/sby \
|
substituteInPlace $out/bin/sby \
|
||||||
--replace "##yosys-sys-path##" \
|
--replace "##yosys-sys-path##" \
|
||||||
"sys.path += [p + \"/share/yosys/python3/\" for p in [\"$out\", \"${yosys}\"]]"
|
"sys.path += [p + \"/share/yosys/python3/\" for p in [\"$out\", \"${yosys}\"]]"
|
||||||
|
substituteInPlace $out/share/yosys/python3/sby_core.py \
|
||||||
|
--replace "/bin/bash" \
|
||||||
|
"${bash}/bin/bash"
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
description = "Tooling for Yosys-based verification flows";
|
description = "Tooling for Yosys-based verification flows";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user