Skip to content

NixBSD Build #39

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

adarshjagadishkamini
Copy link

No description provided.

@rhelmot
Copy link
Collaborator

rhelmot commented Mar 6, 2025

Hi, can you please provide some explanation for these changes? The first commit in particular seems suspect, as the nixbld users should never have to submit build jobs and the root user should always be trusted.

@adarshjagadishkamini
Copy link
Author

The changes to trusted users might not be necessary, I was just trying to change some settings as I got warnings which said ignoring changes because I was not a trusted user when I tried to build it.

And also, I was only able to build it with the nixbsd-dev branch for the nixpkgs.
And by the way, I also had to set the nix channel manually after I boot it, and for some reason, the build caches doesn't seem to work. All the packages seem to be built from source when I try to install it, and eventually it fails saying permission denied even though I logged into nixbsd as the root user (being a root user might not matter technically).

Let me know if I have to set up something else perhaps.

@rhelmot
Copy link
Collaborator

rhelmot commented Mar 7, 2025

I'm about to merge a nixbsd-dev-new branch of nixpkgs which will add a huge number of packages that can be compiled for FreeBSD, incl postgres and redis and nodejs.

Re: disk size, with the way things are right now you have to fit the entire uncompressed disk image on your disk in order to build it, which I don't really feel comfortable requiring that you have 60GB free to build the disk.

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

Successfully merging this pull request may close these issues.

2 participants