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

View File

@@ -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
'';