verilator: fix locating systemc

This commit is contained in:
Nick Cao 2024-03-12 19:17:01 -04:00
parent d44aa50819
commit 2dc4b18eb6
No known key found for this signature in database

View file

@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
done done
''; '';
env = {
SYSTEMC_INCLUDE = "${lib.getDev systemc}/include";
SYSTEMC_LIBDIR = "${lib.getLib systemc}/lib";
};
meta = with lib; { meta = with lib; {
description = "Fast and robust (System)Verilog simulator/compiler and linter"; description = "Fast and robust (System)Verilog simulator/compiler and linter";
homepage = "https://www.veripool.org/verilator"; homepage = "https://www.veripool.org/verilator";