-
-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Fix FreeBSD native stdenv again #389733
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
Fix FreeBSD native stdenv again #389733
Conversation
263f768 to
04ba72b
Compare
artemist
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the changes seem reasonable, but keep-libc is a weird thing to add with no explanation
04ba72b to
8768016
Compare
|
Testing on my FreeBSD 14.2 VM, I'm still getting a test failure in diffutils ( |
This test relies on atime of files and fails inconsistently on FreeBSD.
This atime-based test fails on some FreeBSD configurations
53ca6be to
9f3746c
Compare
Pulls in a patch from freebsd-ports. This patch cannot be made unconditional without a rework since it modifies the base behavior.
d481b90 to
8cf96ba
Compare
|
I just built this on systems with both ZFS and UFS filesystems. Should be ready to go. |
artemist
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's only one thing I'm confused about. I'm building now, if that works I think it should be good to merge.
Copying instead of symlinking prevents leakage of the bootstrap FHS into the 0->1 bootstrap stage. The symptom this addresses is libssh2 failing because it can't find libssl, since it is failing to use the ld wrapper.
Fixes the boot0 build of python
8cf96ba to
1a7421d
Compare
|
The gdbm patch is actually upstream, so could probably have been applied unconditionally relatively safely. |
Hey gamers it's ya gal Audrey here with another episode of "we need some CI on this derivation". This episode's sponsor is the nix-community builders, who generously offered to set me up with a machine to make sure this build stays building!
Most of these changes are fallout from splitting freebsd.libc into freebsd.libcMinimal + several other derivations. The rest are simply the march of time, rot and let rot.
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.