From b8958c68d53d1312f29ca0a51071b2598fc35d10 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Wed, 21 Feb 2024 18:43:02 +0100 Subject: [PATCH] fix: pass arguments to questa scripts --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0e9d5cf..4625d2a 100644 --- a/flake.nix +++ b/flake.nix @@ -118,7 +118,7 @@ export PATH=$INSTALL_DIR/bin:$PATH fi export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH - exec bash -c "$@" + exec "$@" ''; }; @@ -133,7 +133,7 @@ ]; wrappedQuestaScripts = map (x: pkgs.writeScriptBin x '' - exec ${questaFhsEnv}/bin/questasim-env ${x} + exec ${questaFhsEnv}/bin/questasim-env ${x} "$@" '') questaFiles; in { -- 2.48.1