mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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
2 changed files with 3 additions and 7 deletions
|
@ -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 a new issue