From cf4d127d7dbb768dbc0e03705cea62042f99bbb4 Mon Sep 17 00:00:00 2001 From: Hugo McNally Date: Wed, 22 May 2024 13:05:49 +0100 Subject: [PATCH] Named the binary from the Nix simulator build --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 101fedf45..2765a3e5f 100644 --- a/flake.nix +++ b/flake.nix @@ -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]); @@ -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 {