git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.cocotb: fix build on darwin
commit2924904d95e9fa845ee271a51a06d7a8650267be authorMario Rodas <marsam@users.noreply.github.com> dateFri 25 Oct 2019, 04:20 (7 years ago) parent6407a35
1 file changed+3
pkgs/development/python-modules/cocotb/default.nix+3
pkgs/development/python-modules/cocotb/default.nix+3
@@ -24,6 +24,9 @@ buildPythonPackage rec {
2424 cocotb/share/makefiles/simulators/Makefile.*
2525 do
2626 substituteInPlace $f --replace 'shell which' 'shell command -v'
27+ # replace hardcoded gcc. Remove once https://github.com/cocotb/cocotb/pull/1137 gets merged
28+ substituteInPlace $f --replace 'gcc' '$(CC)'
29+ substituteInPlace $f --replace 'g++' '$(CXX)'
2730 done
2831 '';
2932