~ruther/verilog-riscv-semestral-project

181e94c4c368df49b63ee435f623436482f2f6a2 — Rutherther 1 year, 5 months ago 6ce1c83
chore: add risc toolchain to flake
1 files changed, 8 insertions(+), 4 deletions(-)

M flake.nix
M flake.nix => flake.nix +8 -4
@@ 13,6 13,10 @@
              inherit system;
              config.allowUnfree = true;
            };
            riscPkgs = import nixpkgs {
              inherit system;
              crossSystem.config = "riscv32-none-elf";
            };
            verilog-toolchain = with pkgs; symlinkJoin {
              name = "verilog-toolchain";
              meta.mainProgram = "verilog";


@@ 31,11 35,11 @@
          devShells.default = pkgs.mkShell {
            name = "pap-verilog";

            nativeBuildInputs = [
              packages.verilog
            ];

            packages = with pkgs; [
              riscPkgs.buildPackages.binutils
              riscPkgs.buildPackages.gcc

              packages.verilog
              # lsp
              packages.verilog-lsp
            ];

Do not follow this link