From c786683558c63e01b2e98f71daec0e30edbe6f3d Mon Sep 17 00:00:00 2001 From: joshashtondev Date: Thu, 24 Sep 2026 09:50:42 -0600 Subject: [PATCH] =?UTF-8?q?nixos:=20gen=2072=20@=20lilac=20=E2=80=94=20202?= =?UTF-8?q?6-09-24=2009:50=2026.05.20260918.cf9d2fb=20(Yarara)=20-----?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/jashton.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/jashton.nix b/home/jashton.nix index ab47385..342d73b 100644 --- a/home/jashton.nix +++ b/home/jashton.nix @@ -121,14 +121,15 @@ in (pkgs.writeShellScriptBin "jrun" '' set -euo pipefail - if [ $# -lt 2 ]; then + if [ $# -lt 3 ]; then echo "usage: jrun [args...]" >&2 exit 1 fi ROOT="$(jroot)" cd "$ROOT" - jbuild $1 - MAIN="./bin/$2/$3"; shift + jbuild "$1" + MAIN="$2.$3" + shift 3 java -cp "bin:lib/*" "$MAIN" "$@" '')