-
Notifications
You must be signed in to change notification settings - Fork 47
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
dotenvy cli doesn't work on Nix systems #122
Comments
The default path is ".env" in the current dir. Try specifying the path. |
You are probably using the published version, which is 0.15.7 or earlier. You can specify filename in that version using You can also use the current git version, which takes a path instead of filename.
|
Oops I don't know why I assumed this was a nix issue. I didn't even have a .env file defined, I just had assumed that dotenvy would silently ignore if there's no
I did have an error when wrapping
Perhaps this error message could be improved to be:
Regardless thanks for the reply! |
I must've broken the quoted command with my recent changes. I'll add optional file support and fix that soon. |
I've installed the dotenvy cli with
cargo install dotenvy --features="cli"
on my Macbook which is setup with Nix. However when I try to executedotenvy echo hi
, I get an error:The text was updated successfully, but these errors were encountered: