Skip to content

[Backport 24.05] freebsd: various improvements and new packages#320424

Merged
Ericson2314 merged 20 commits intorelease-24.05from
freebsd-minimal3-24.05/freebsd-various
Jun 18, 2024
Merged

[Backport 24.05] freebsd: various improvements and new packages#320424
Ericson2314 merged 20 commits intorelease-24.05from
freebsd-minimal3-24.05/freebsd-various

Conversation

@Ericson2314
Copy link
Member

Description of changes

Backport of #315176. Backporting because want the keep the more nixpkgs architectural stuff in sync.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

rhelmot added 20 commits June 16, 2024 23:22
This patch was applied to 14.0 but not 13.1. It is necessary for 13.1 as
well.
netbsd can no longer compile under FreeBSD native early bootstrap
stdenv, so switch to coreutils. This only involves discarding the -l
flag. The -l flag causes a symlink instead of a copy to be installed, so
it is safe to discard during bootstrap.
By adding fewer dependencies, the FreeBSD native bootstrap tarball
becomes lighter.
The diff parsing was pretty hardcoded for diff -u. Now it should handle
git diff/show as well.
Previously, an attribute named isStatic did this, but this was lost in a
refactor. Revive it and rename it to noLibc to be more clear about its
intended use.
These packages are preferred over libncurses proper for some in-tree
FreeBSD packages.
The parameters to control which locales are built are placeholders.
This is a single derivation containing everything in /bin on a normal
FreeBSD machine, which is an incredibly compact set of core utilities.
While cp is part of freebsd.bin, this particular package is critical for
early stdenv boot and has its own derivation to require fewer
dependencies
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 17, 2024
@Ericson2314 Ericson2314 merged commit 3e63890 into release-24.05 Jun 18, 2024
@Ericson2314 Ericson2314 deleted the freebsd-minimal3-24.05/freebsd-various branch June 18, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants