symbiyosys: fix the interpreter of the sby binary.

Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
David Anderson 2021-02-09 20:54:58 -08:00
parent 638a41a825
commit 6f1319a4d6
2 changed files with 3 additions and 7 deletions

View file

@ -31,6 +31,9 @@ stdenv.mkDerivation {
substituteInPlace sbysrc/sby_core.py \
--replace '##yosys-program-prefix##' '"${yosys}/bin/"'
substituteInPlace sbysrc/sby.py \
--replace '/usr/bin/env python3' '${python3}/bin/python'
'';
buildPhase = "true";

View file

@ -38,13 +38,6 @@ buildPythonPackage rec {
export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}"
'';
# Fail b/c can't find sby (symbiyosys) executable, which should be on path.
disabledTests = [
"test_distance"
"test_reversible"
"FIFOFormalCase"
];
meta = with lib; {
description = "A refreshed Python toolbox for building complex digital hardware";
homepage = "https://nmigen.info/nmigen";