mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
symbiyosys: fix path to bash (again)
/usr/bin/env works on NixOS normally, but previously sby would fail if used from inside the Nix sandbox.
This commit is contained in:
parent
89ff2c7b9d
commit
d1dfaa79e3
@ -26,6 +26,8 @@ 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 '"/usr/bin/env", "bash"' '"${bash}/bin/bash"'
|
||||
'';
|
||||
meta = {
|
||||
description = "Tooling for Yosys-based verification flows";
|
||||
|
Loading…
Reference in New Issue
Block a user