Closed luisnquin closed 5 months ago
The nixosModule is tested in CI, there has to be something else going on in some code that you are not displaying in the screenshots, for example inside of ./system/configuration.nix
.
I notice you have pkgs
defined since you are inherit
ing it. Can you show me how you defined it?
Here you can find some definitions that I have on my computer
Also, I don't think it's relevant but you can find the mkSetup
definition here
The macOS module is disabled because I already used it and I don't wanted it to consume space until the next time
You can find this other configuration that I have used and got the same result, it is from a computer at my work that has NixOS installed and is not complex like my personal flake. In fact, the first two screenshots are from that computer.
@luisnquin I see you're applying a lot of overlays, and I think you're doing expressing something wrong and clobbering the overlay from this flake somehow. It is not easy to debug, but I hope this gives you something to go on.
Currently busy travelling, but I'll get back to this if you don't figure it out, when I get home again.
Don't worry, I'm currently using the workaround I mentioned before. The issue might be when someone tries to start the service with the default package.
@luisnquin it definitely isn't that, because if you craft a barebones Nix flake without any of your code in it, this doesn't happen. The issue is in a nix expression you're including into your own config which includes other overlays. I'm fairly confident that it is your Nix code causing the problem at this time, having tested it myself. But debugging your config will be a bit time consuming for me right now, but I'm up for it when I get home.
Closing, as the issue cannot be reproduced and is likely an issue with the user's Nix expression, and not with the project.
I've been trying to install macOS ventura in my NixOS computer but the rebuild process failed due to apparently something's wrong with the macOS module, you can reproduce this error with the snippet of the image below
Here's the underlying error
A workaround for me is to create the package directly from the flake itself.
Until then, everything else works as expected. I tried the macOS option and I want to say what you've been doing is great and it seems that it will save me a lot of money by saving me from buying a macOS just to do some app builds for iOS. :)