yosys-bluespec: fix build with yosys 0.67

This commit is contained in:
Karolis Stasaitis
2026-07-15 13:05:12 +02:00
parent 85bb72d912
commit c74b782bcf

View File

@@ -21,6 +21,12 @@ stdenv.mkDerivation {
sha256 = "sha256-3cNFP/k4JsgLyUQHWU10Htl2Rh0staAcA3R4piD6hDE=";
};
# yosys >=0.67 headers require C++20; the Makefile otherwise pins c++17.
postPatch = ''
substituteInPlace Makefile \
--replace-fail '-std=c++17' '-std=c++20'
'';
buildInputs = [
yosys
readline