-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
—getNimbleDir prints out debug info and brakes installation script #50
Comments
You mean But the output is from |
@SpotlightKid Yes, the It’s invoked here: choosenim/scripts/choosenim-unix-init.sh Line 83 in 162d73d
# Copy choosenim binary to Nimble bin.
local nimbleBinDir= '"$temp_prefix/$filename" --getNimbleBin' That invocation doesn’t seem to account for the command outputting “Info: …” debug lines when NIMBLE_DIR is set for the environment. |
My correction wasn't about the The "Info: ..." output goes to stdout, so it is captured by the shell backticks in the line you cited, there is no way to prevent that. So either nimble needs to be fixed to don't output those lines or the The output is not triggered by the
which outputs:
|
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 ofcp
to move the downloaded binary to its permanent destination: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.
The text was updated successfully, but these errors were encountered: