python3Packages.cocotb: fix failing build (#231184)

Signed-off-by: Jack Leightcap <jack@leightcap.com>
This commit is contained in:
Jack Leightcap 2023-05-15 04:12:51 -04:00 committed by GitHub
parent 054175b2a1
commit 70c1240b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@
, setuptools
, setuptools-scm
, cocotb-bus
, find-libpython
, pytestCheckHook
, swig
, verilog
@ -24,7 +25,7 @@ buildPythonPackage rec {
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ setuptools ];
buildInputs = [ setuptools find-libpython ];
postPatch = ''
patchShebangs bin/*.py