freebsd: various new packages to support a NixBSD system#320475
freebsd: various new packages to support a NixBSD system#320475JohnRTitor merged 65 commits intoNixOS:masterfrom
Conversation
18c069c to
a413a20
Compare
fa97067 to
c5cac2d
Compare
There was a problem hiding this comment.
This is too long. Can it be at least documented?
There was a problem hiding this comment.
It does need documentation, but do note it is just being moved. I would be OK with that happening in a later PR.
There was a problem hiding this comment.
I added an overview.
There was a problem hiding this comment.
This is ambiguous.
What does it mean?
a) does not require modification
b) prohibits any modification
There was a problem hiding this comment.
I took a look at the actual license file and it seems that it's the latter. I updated the verbage to be more explicit.
There was a problem hiding this comment.
Maybe this wrapping stuff should be left for later? Not really sure what it is yet.
There was a problem hiding this comment.
What's wrong with it? we are in fact doing suid binary wrappers on nixbsd and they work fine. Would you rather it default to off? What's the practical use of running a non-suid login binary?
There was a problem hiding this comment.
I just meant that /run/wrappers isn't a Nixpkgs thing, so it's arguably a minor layer violation I think?
There was a problem hiding this comment.
I changed the parameter to be the wrappedLogin path itself, null if unused, as we discussed on matrix. You should go complain to the other package maintainers for their packages that hardcode wrapper paths!
There was a problem hiding this comment.
looks like it's removing a suid bit
Ericson2314
left a comment
There was a problem hiding this comment.
I went through each commit, but I don't wanna nit-pick this to death :)
5af68dd to
a43ef1a
Compare
- the patched kernel source is useful for a few out-of-tree derivations, similar to how the linux kernel headers are useful for other builds. - the build did not work due to stack pointer, relocation, and Makefile shenannigans. Fix these.
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
JohnRTitor
left a comment
There was a problem hiding this comment.
Let's not hold this any further, subsequent improvements and bugfixes can come in a later PRs.
|
Note it's a "syntax" error to try to dereference invalid attribute. Is it possible to have a check to return an exception here? (Inless it's a genuine bug) |
Description of changes
61 of them,1 small package diff, 1 large package diff (sys), and 1 commit modifying lib and mkDerivation. This lets us boot NixBSD!
There are a few TODOs left in the code but I think they're fine for followup PRs.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.