From c1d12cf4fd64e67d7b9dd57e7bd9e711e02c28a0 Mon Sep 17 00:00:00 2001 From: Shupei Fan Date: Mon, 2 Sep 2024 09:24:10 +0000 Subject: [PATCH] [nix] copy perf.json to output --- nix/t1/run/run-verilator-emu.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/t1/run/run-verilator-emu.nix b/nix/t1/run/run-verilator-emu.nix index fc6dddaad..69048d433 100644 --- a/nix/t1/run/run-verilator-emu.nix +++ b/nix/t1/run/run-verilator-emu.nix @@ -71,8 +71,8 @@ stdenvNoCC.mkDerivation (finalAttr: { zstd $rtlEventOutPath -o $rtlEventOutPath.zstd rm $rtlEventOutPath - if [ -r perf.txt ]; then - mv perf.txt $out/ + if [ -r perf.json ]; then + mv perf.json $out/ fi ${lib.optionalString emulator.enableTrace ''