mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
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 {
|
||||
name = "symbiyosys-${version}";
|
||||
@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/bin/sby \
|
||||
--replace "##yosys-sys-path##" \
|
||||
"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 = {
|
||||
description = "Tooling for Yosys-based verification flows";
|
||||
|
Loading…
Reference in New Issue
Block a user