mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
yosys-bluespec: fix build with yosys 0.67
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user