-
Notifications
You must be signed in to change notification settings - Fork 144
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
Failing to build own packages in the standard #71
Comments
Can you link the fix pls? |
See #54 |
nix-starter-configs/standard/flake.nix Line 45 in 972935c
Here is where the system is passed. In nix-config is like this: Also the pkgs/default.nix is different: |
Fixed in bb8a72b! |
A quick explanation on the differences between The former has to be called passing The latter's advantage is that you can expand it with optional arguments without breaking where it's called, and you can provide fallback values (such as Otherwise, it's just a style choice; I went with the former in the template as it's easier to grok. |
I have my own flake and want to add a new package.
I was trying to adapt my flake with some of your configurations and couldn't make the pkgs/default.nix work.
Seems that the flake.nix is calling it with system instead of {inherit pkgs}.
I found the solution looking at you own nixos configuration.
So, I'm not sure if it's for my own flake or that maybe something changed and the template needs to be changed.
Thanks for making it public!
The text was updated successfully, but these errors were encountered: