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

allow use of flake git ref? #177

Closed
Rafmaninoff opened this issue Nov 19, 2024 · 1 comment
Closed

allow use of flake git ref? #177

Rafmaninoff opened this issue Nov 19, 2024 · 1 comment

Comments

@Rafmaninoff
Copy link

Hello, I often forget to git pull before building, so, I was trying to make nh only build from github, like you can with nixos-rebuild switch --flake github:user/repo, however, programs.nh.flake must be of type path.

@viperML
Copy link
Owner

viperML commented Nov 19, 2024

You can manually set the FLAKE environment variable in different ways, such as your shell config or environment.sessionVariables

@viperML viperML closed this as completed Nov 19, 2024
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