Merge pull request #283925 from hzeller/20240125-make-synlig-compile
yosys-synlig: fix compilation with Yosys 0.37
This commit is contained in:
commit
4e65ef1b83
@ -1,6 +1,7 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, antlr4
|
, antlr4
|
||||||
, capnproto
|
, capnproto
|
||||||
@ -29,6 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
fetchSubmodules = false; # we use all dependencies from nix
|
fetchSubmodules = false; # we use all dependencies from nix
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
# Fixes https://github.com/chipsalliance/synlig/issues/2299
|
||||||
|
name = "make-compile-for-yosys-0.37.patch";
|
||||||
|
url = "https://github.com/chipsalliance/synlig/commit/3dd46d4769c20b6dd1163310f8e56560b351a211.patch";
|
||||||
|
hash = "sha256-OP/2HA/Ukt6o5aKgoBk19P6T/33btU/x6VnoIVXct1g=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user