ysyx-workbench/npc/flake.nix
tracer-ysyx 355bd72c8d > sim RTL
ysyx_22040000 李心杨
Linux calcite 6.1.65 #1-NixOS SMP PREEMPT_DYNAMIC Sun Dec  3 06:32:13 UTC 2023 x86_64 GNU/Linux
 17:27:29  up  20:25,  2 users,  load average: 0.48, 0.77, 0.76
2023-12-23 17:27:29 +08:00

24 lines
581 B
Nix

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, ... }@inputs: with inputs;
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system}; in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
verilator
gtkwave
gcc
bear
];
shellHook = ''
export NEMU_HOME=/home/xin/repo/ysyx-workbench/nemu
'';
};
}
);
}