Skip to content

Commit

Permalink
fixup! [nix] add vcs sim profile flow
Browse files Browse the repository at this point in the history
  • Loading branch information
FanShupei committed Dec 8, 2024
1 parent 08a3d20 commit 5ba3341
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions nix/t1/run/run-vcs-emu.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{ lib, pkgs, stdenvNoCC, zstd, jq, offline-checker, snps-fhs-env }:
{ lib
, stdenvNoCC
, zstd
, jq
, offline-checker
, snps-fhs-env
, writeShellScriptBin
}:

{ emulator
, dpilib ? null
Expand All @@ -18,7 +25,7 @@ stdenvNoCC.mkDerivation (rec {

# to open 'profileReport.html' in firefox,
# set 'security.fileuri.strict_origin_policy = false' in 'about:config'
profile = pkgs.writeShellScriptBin "runSimProfile" ''
profile = writeShellScriptBin "runSimProfile" ''
${emuDriver} \
${lib.escapeShellArgs emuDriverArgs} \
-simprofile time \
Expand Down Expand Up @@ -56,7 +63,6 @@ stdenvNoCC.mkDerivation (rec {
mkdir -p "$out"
emuDriver="${emuDriver}"
emuDriverArgs="${lib.escapeShellArgs emuDriverArgs}"
rtlEventOutPath="$out/${testCase.pname}-rtl-event.jsonl"
Expand Down

0 comments on commit 5ba3341

Please sign in to comment.