From cc20ebebd7006a4ea7fa47b49a3a3325131ab160 Mon Sep 17 00:00:00 2001 From: dalance Date: Sat, 27 Apr 2024 18:38:21 +0900 Subject: [PATCH] Update --- src/verilator/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/verilator/install.sh b/src/verilator/install.sh index 367b05e..00a7261 100644 --- a/src/verilator/install.sh +++ b/src/verilator/install.sh @@ -12,6 +12,8 @@ set -e # of the script ensure_nanolayer nanolayer_location "v0.5.4" +VERILATOR_VERSION="$VERSION" + . /etc/os-release ASSET_REGEX="verilator-${ID}-${VERSION_ID}.zip" @@ -20,7 +22,7 @@ $nanolayer_location \ install \ devcontainer-feature \ "ghcr.io/devcontainers-contrib/features/gh-release:1.0.25" \ - --option repo='veryl-lang/verilator-package' --option binaryNames='verilator' --option version="$VERSION" --option assetRegex="$ASSET_REGEX" + --option repo='veryl-lang/verilator-package' --option binaryNames='verilator' --option version="$VERILATOR_VERSION" --option assetRegex="$ASSET_REGEX"