symbiyosys: fix the interpreter of the sby
binary.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
638a41a825
commit
6f1319a4d6
@ -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";
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user