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
Add NIX_PATH action input #18
Conversation
Wouldn't be setting NIX_PATH #6 be somewhat the same? I quite dislike channels, ideally, we'd disable Nix installation to set up a channel altogether. |
You mean like |
32fc14b
to
069cd85
Compare
2193822
to
1659319
Compare
I added NIX_PATH as action input and went with the backwards compatible way. Of course I can set NIX_PATH arg to required to be more strict, but this decision is up to you :) |
Rebased PR to recent changes in master |
I tried this branch using:
but it fails finding What I am doing wrong? |
Try the branch |
Thanks! Works perfectly now: https://github.com/Mic92/nur-packages/blob/master/.github/workflows/build.yml |
I guess this would allow us to tell installer to skip setting up a channel and save ~10s of installation time :) NixOS/nix#3588 |
Oh awesome, did know of this option! |
I think I'd prefer the following behavior:
|
I've implemented |
Cool. I switched back to the official install-nix-action and just the NIX_PATH manually: https://github.com/Mic92/nur-packages/blob/46606aa4ceb2f7e1c6c1824e35bde4339760f666/.github/workflows/build.yml |
PTAL |
Thanks for the patience @Gerschtli :) |
Hey, this adds a new input named
nixpkgs
as default nixpkgs channel.Resolves #17.
Resolves #6.