pythonPackages.cocotb: fix build on darwin
This commit is contained in:
parent
6407a35d37
commit
2924904d95
1 changed files with 3 additions and 0 deletions
|
@ -24,6 +24,9 @@ buildPythonPackage rec {
|
|||
cocotb/share/makefiles/simulators/Makefile.*
|
||||
do
|
||||
substituteInPlace $f --replace 'shell which' 'shell command -v'
|
||||
# replace hardcoded gcc. Remove once https://github.com/cocotb/cocotb/pull/1137 gets merged
|
||||
substituteInPlace $f --replace 'gcc' '$(CC)'
|
||||
substituteInPlace $f --replace 'g++' '$(CXX)'
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue