nicknovitski/nix-develop

Invalid variable name - SELENIUM_JAR_PATH

arichtman opened this issue · 2 comments

Hey,

Thanks for making this action, it's a really clever way to avoid verbose calls of nix develop --command
It seems to be choking on one of the environment variables, but the variable name looks ok.

I've run it a couple more times and it seems consistent.
Here's a link to a run with set -x on for debugging, maybe you have some idea about what's happening?

https://github.com/arichtman/www.richtman.au/actions/runs/7361637456/job/20039185453#step:5:185

I had a similar problem, but with a different variable. I am using a shell hook in my flake to initialize my dependencies. In my case, I am using tfswitch to essentially pin my terraform version and allow for quick switching between versions. When you call tfswitch to change versions it emits a message like switched to terraform version "1.5.7". The quotes in this were causing the nix-develop-gha script to mess up. I just made sure to send outputs to dev/null and it resolved the issue.

Thanks, I'll look into that