Skip to content
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

nix shell / nix run usage #74

Open
docteurklein opened this issue May 7, 2024 · 3 comments
Open

nix shell / nix run usage #74

docteurklein opened this issue May 7, 2024 · 3 comments

Comments

@docteurklein
Copy link

docteurklein commented May 7, 2024

I didn't see any reference to this in the README and struggled because of shell quote escaping, but here is my take on how to run this without having to have your own flake:

nix shell github:stackbuilders/nixpkgs-terraform#'"1.1.3"'
# or 
nix run github:stackbuilders/nixpkgs-terraform#'"1.1.3"' -- 

Note the " wrapped with ' so that your shell passes the correct string to nix.

@fm7-1
Copy link
Contributor

fm7-1 commented May 15, 2024

Hello, @docteurklein. Thank you for opening this issue. We are going to take a look at this and get back to you.

@docteurklein
Copy link
Author

docteurklein commented May 16, 2024

hi :) thanks, although I don't have a problem, I was just proposing to add this in the README for future users that would be confused by the utilization of dots . in the package name, which forces you to fight quotes interpretation between shells and nix.
I should have made a PR instead, my bad :)

@fm7-1
Copy link
Contributor

fm7-1 commented May 16, 2024

Thank you for the context, @docteurklein. In that case, please fell free to open a PR if you have the chance, we would really appreciate it 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants