-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I’m setting the NIMBLE_DIR environment variable, and it seems that choosenim --getNimbleDir
, which is used in the installation script to get the value, prints out debug info data when it doesn’t seem to be expected in the output, breaking the invitation of cp
to move the downloaded binary to its permanent destination:
choosenim-init: Downloading choosenim-0.8.9_linux_amd64
Info: Using the environment variable: NIMBLE_DIR='/home/runner/Nim-stable/.nimble'
Info: Using the environment variable: NIMBLE_DIR='/home/runner/Nim-stable/.nimble'
Info: Version 2.2.0 already selected
cp: cannot create regular file ''$'\033''[32m'$'\033' '[1mInfo: '$'\033''[0m'$'\033'' [OmUsing the environment variable: NIMBLE_DIR='\''/home/runner/Nim-stable/.nimble'\'''$'\n\033''[32m'$
'\033'' [1mInfo: '$'\033''[0m'$'\033'' [OmUsing the environment variable: NIMBLE_DIR='\''/ho me/runner/Nim-stable/.nimble'\'''$'\n''/home/run ner/Nim-stable/.nimble/bin/choosenim': No such file or directory
I’m running on NixOS 24.05 and with bash 5.2.26 and it’s reproducible on the latest version of the script downloaded directly from this repo.
Metadata
Metadata
Assignees
Labels
No labels