diff --git a/envision/shim.nu b/envision/shim.nu index 7989257..226d55c 100644 --- a/envision/shim.nu +++ b/envision/shim.nu @@ -6,10 +6,12 @@ # Just rename this script to the desired build tool, then prepend it to Envision's PATH environment variable. It will # run instead of the system build tool. +const cmd = path self | path basename + def main --wrapped [...args] { # Replace working directory with /build in commands let args = $args | str replace -a (pwd) /build # TODO: Use latest image from AtomicXR container registry - podman run localhost/xr-multi:latest -v .:/build -- ...$args + podman run localhost/xr-multi:latest -v .:/build -- $cmd ...$args } \ No newline at end of file