-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Repository syntax change #45
Comments
thanks a lot for the notification! will have a look at it ASAP %) |
@infinisil Done 👍 |
Done! |
fixed as well, thanks a lot for your effort! |
@infinisil thanks! |
Done :) |
updated |
tilpner
added a commit
to tilpner/nur-packages
that referenced
this issue
Jul 21, 2018
But only strictly. Haven't tested if my usage of callDirectory disallows module usage yet.
fgaz
added a commit
to fgaz/nur-packages
that referenced
this issue
Jul 21, 2018
Updated both my repo and my template! Thanks for the heads-up! |
Updated now in a9fca19 |
Thanks everybody! |
...and thanks for your work to make this possible! |
@infinisil Now this could become a failure instead of a warning. |
milahu
pushed a commit
to milahu/NUR
that referenced
this issue
Aug 6, 2023
actions: nixos-20.09 -> nixos-21.05
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the merging of #27, a new syntax for repositories is desired. While the old syntax will still work just fine as of now, it has problems with NixOS modules, so it would be good to get away from it. Users will get a warning about that when they use repos with the old syntax:
Note that the installation instructions changed as well. The old way works just fine if you don't intend to use it on NixOS, but for the future the new way should be preferred.
The following repositories should be updated:
Migration and new features
Now your main
default.nix
file should only take one argument, namelypkgs
. So if you had something like this before:The new syntax looks like this:
This now allows you to provide usable NixOS modules and overlays (by convention in the
modules
/overlays
attributes):You need to make sure to not evaluate the
pkgs
argument for modules. This will give an error when somebody tries to use the module from NUR:The text was updated successfully, but these errors were encountered: