{ config, pkgs, ... }: { # Add packages to the dev environment packages = with pkgs; [ # FPGA verilator systemc verible svls # C/C++ xmake gnumake cmake ninja gcc neocmakelsp clang-tools ]; # Enable languages support # languages.cplusplus.enable = true; # When enter shell, exec ... enterShell = '' export SYSTEMC_INCLUDE="${pkgs.systemc}/include" export SYSTEMC_LIBDIR="${pkgs.systemc}/lib" export VERILATOR_INCLUDE="${pkgs.verilator}/share/verilator/include" echo verilator --version echo gcc --version ''; }