Skip to content

Commit

Permalink
Named the binary from the Nix simulator build
Browse files Browse the repository at this point in the history
  • Loading branch information
HU90m committed May 22, 2024
1 parent 9361aa7 commit cf4d127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

sonata-simulator = pkgs.stdenv.mkDerivation {
inherit version;
pname = "sonata-system-simulator";
pname = "sonata-simulator";
src = ./.;
buildInputs = with pkgs; [libelf zlib];
nativeBuildInputs = [pkgs.python311Packages.pip] ++ (with lrPkgs; [python_ot verilator_ot]);
Expand All @@ -51,7 +51,7 @@
'';
installPhase = ''
mkdir -p $out/bin/
cp -r build/lowrisc_sonata_system_0/sim-verilator/Vtop_verilator $out/bin/
cp -r build/lowrisc_sonata_system_0/sim-verilator/Vtop_verilator $out/bin/sonata-simulator
'';
};
in {
Expand Down

0 comments on commit cf4d127

Please sign in to comment.