pythonPackages.cocotb: fix build on darwin

This commit is contained in:
Mario Rodas 2019-10-25 04:20:00 -05:00
parent 6407a35d37
commit 2924904d95
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -24,6 +24,9 @@ buildPythonPackage rec {
cocotb/share/makefiles/simulators/Makefile.* cocotb/share/makefiles/simulators/Makefile.*
do do
substituteInPlace $f --replace 'shell which' 'shell command -v' 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 done
''; '';