Commit Graph

347 Commits

Author SHA1 Message Date
K900
4f29b5a16b Merge remote-tracking branch 'origin/staging-next' into staging 2024-07-31 08:57:17 +03:00
John Ericson
e460ff83fd
Merge pull request #330722 from artemist/freebsd-machine
freebsd: Handle MACHINE/MACHINE_ARCH/MACHINE_CPUARCH differences
2024-07-30 13:59:45 -05:00
github-actions[bot]
d0b2f51f0f
Merge staging-next into staging 2024-07-29 06:01:55 +00:00
John Ericson
18cb69fb9b
Merge pull request #330069 from rhelmot/freebsd-14.1
freebsd: 14.0 -> 14.1
2024-07-28 23:24:38 -05:00
Artemis Tosini
7e893695b8
freebsd: Handle MACHINE/MACHINE_ARCH/MACHINE_CPUARCH differences 2024-07-29 00:09:14 +00:00
Audrey Dutcher
43fb06aa92
freebsd: 14.0 -> 14.1 2024-07-28 19:42:11 +00:00
github-actions[bot]
4007341b1f
Merge staging-next into staging 2024-07-27 12:01:37 +00:00
Vladimír Čunát
64c6a981fe
Merge branch 'master' into staging-next 2024-07-27 09:18:58 +02:00
Silvan Mosberger
ae5377916f
Merge pull request #324696 from philiptaron/__attrsFailEvaluation/excluded-attrnames-at-any-depth
Remove test-pkgs, buildPackages, and buildFreebsd from excluded-attrnames-at-any-depth
2024-07-27 02:28:20 +02:00
github-actions[bot]
8c2e73a4ed
Merge staging-next into staging 2024-07-26 18:01:39 +00:00
Martin Weinelt
93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00
Sigmanificient
6dd44107ac treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
Philip Taron
48d1364929
Remove buildFreebsd from excluded-attrnames-at-any-depth 2024-07-25 17:28:00 -07:00
John Ericson
89af439710
Merge pull request #328782 from rhelmot/freebsd-gdb
gdb + deps: fix build on FreeBSD
2024-07-24 14:05:14 -04:00
Vladimír Čunát
cd346565bb
Merge branch 'master' into staging-next 2024-07-24 07:19:19 +02:00
Jörg Thalheim
afe8fbf038
Merge pull request #328582 from rhelmot/freebsd-stdenv
FreeBSD stdenv: re-init
2024-07-24 06:43:35 +02:00
Audrey Dutcher
5384421837 freebsd.libstdthreads: init 2024-07-20 17:04:37 -07:00
github-actions[bot]
e533bfc8da
Merge master into staging-next 2024-07-20 18:01:23 +00:00
John Ericson
5e826c3d2d
Merge pull request #327817 from rhelmot/freebsd-out-of-tree
freebsd.mkDerivation: do not crash on packages not using FreeBSD src
2024-07-20 11:35:35 -04:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Audrey Dutcher
1e2071847d stdenv/freebsd: reinit
The old stdenv didn't work, and was also impure. The new one works, and
is pure. Presently, the bootstrap tools are cross compiled into one small
nar and one large tar, which is then unpacked, patched, and split into
smaller derivations. Efforts were made to make the boot process as short
as possible - there are only two clangs built, and as many packages are
propagated between stages as possible while leaving the bootstrap tools
out of the final stdenv's closure.
2024-07-19 21:32:05 -07:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Audrey Dutcher
8e26d7ca85 freebsd.mkDerivation: do not crash on packages not using FreeBSD src
This includes drm-kmod and drm-kmod firmware.
2024-07-16 22:31:05 -07:00
Audrey Dutcher
cdb8017585 freebsd.mkDerivation: re-add missing hunk 2024-07-16 22:12:42 -07:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
John Ericson
000b58721f Merge remote-tracking branch 'upstream/master' into openbsd-static 2024-07-09 18:18:47 -04:00
John Ericson
676df1cf2d openbsd: Add static linking support
I've had better luck creating statically-linked binaries that work than
dynamically-linked ones, so this is needed quite practically.
2024-07-09 18:17:06 -04:00
Masum Reza
0c4a8b4f89
Merge pull request #320472 from rhelmot/freebsd-libunwind-mess
{llvm,freebsd.libcxxrt}: Sort out references to unwind functions
2024-07-04 16:43:06 +05:30
Masum Reza
2b8f96c5b8
Merge pull request #320475 from rhelmot/freebsd-various2
freebsd: various new packages to support a NixBSD system
2024-07-04 11:08:52 +05:30
Audrey Dutcher
e589fdb72d chore: Remove with lib from various freebsd packages
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2024-07-02 20:18:55 -07:00
Audrey Dutcher
f0097d1fe5 freebsd.sys: make patched source visible, fix build
- 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.
2024-07-02 20:18:55 -07:00
Audrey Dutcher
8cd627305b freebsd: move filterPatches into freebsd-lib 2024-07-02 20:18:55 -07:00
Audrey Dutcher
94880cac1b freebsd.stat: disable tests 2024-07-02 20:18:55 -07:00
Audrey Dutcher
256f8ff850 freebsd.mkimg: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
f413ee70de freebsd.makefs: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
d8eef125c0 freebsd.vtfontcvt: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
6acde4a456 freebsd.stand-efi: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
37f5de0d04 freebsd.init: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
8fd9a80c41 freebsd.bintrans: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
693bccf441 freebsd.drm-kmod-firmware: init 2024-07-02 20:18:55 -07:00
Audrey Dutcher
9fa145fab8 freebsd.drm-kmod: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
bf35a20617 freebsd.fsck: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
d651bd6e83 freebsd.libzfs: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
be96ca6bf1 freebsd.zfs-data: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
8330c8994c freebsd.zfs: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
2da43c3945 freebsd.swapon: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
e87b4f28f7 freebsd.reboot: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
4b76aeeeb7 freebsd.libipsec: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
a46e74fd23 freebsd.ping: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
55c787a61a freebsd.newfs_msdos: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
256fe4a317 freebsd.newfs: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
2b7f6d3d83 freebsd.mdconfig: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
15a263f2e2 freebsd.kldunload: init 2024-07-02 20:18:54 -07:00
Audrey Dutcher
d542659221 freebsd.kldstat: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
e3102983b9 freebsd.kldload: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
d7fc1a67e1 freebsd.kldconfig: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
20cf5fb46f freebsd.libufs: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
39fe4cf600 freebsd.geom: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
cbc6f471dd freebsd.fdisk: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
16cad24936 freebsd.dmesg: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
57cc0fb1bf freebsd.devfs: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
afee073eaa freebsd.libgeom: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
06d2cdbdb2 freebsd.bsdlabel: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
901f8319fc freebsd.libsysdecode: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
7627bc4be2 freebsd.truss: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
352259d523 freebsd.services_mkdb: init 2024-07-02 20:18:53 -07:00
Audrey Dutcher
1185d75848 freebsd.syslogd: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
f3c9e4af03 freebsd.shutdown: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
70236c2ac6 freebsd.daemon: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
b9f1c7e7c5 freebsd.newsyslog: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
cc86fcbcca freebsd.libifconfig: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
64e36d5999 freebsd.libbsdxml: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
a03b493adc freebsd.lib80211: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
9f84814541 freebsd.ifconfig: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
80e3ecafa0 freebsd.route: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
8479282bca freebsd.libkiconv: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
54f1777830 freebsd.mount_msdosfs: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
c94a2a2435 freebsd.limits: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
f80a34ddb2 freebsd.id: init 2024-07-02 20:18:52 -07:00
Audrey Dutcher
22a4ba421e freebsd.protect: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
a25eb642f7 freebsd.rcorder: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
95bed7c788 freebsd.rc: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
b85f78bfa8 freebsd.login: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
d58f00efe2 freebsd.libradius: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
4fdc9f9d17 freebsd.libbsm: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
6e52c40871 freebsd.libpam: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
7ada439627 freebsd.cap_mkdb: init 2024-07-02 20:18:51 -07:00
Audrey Dutcher
a20e099c9a freebsd.getty: init 2024-07-02 20:18:39 -07:00
John Ericson
56c2439a45 openbsd.libc: Create from constituent pkgs not hack
9d4e3b597fded2aee92cb7a7b2195072f812a6d3 but for OpenBSD instead of
NetBSD.
2024-06-29 12:48:30 -04:00
John Ericson
716d8a752a openbsd: Remove STRIP hack
This is just a FreeBSD thing, not OpenBSD or NetBSD thing.
2024-06-29 12:48:29 -04:00
John Ericson
b98dc9f0ef bsdSetupHook: Do not define empty DESTDIR
This breaks OpenBSD, and isn't actually needed for the others after all.
2024-06-29 12:48:29 -04:00
John Ericson
f9dbc8f83e netbsd.libcMinimal: Cut down on deps, don't build tags
We have a similar patch for OpenBSD too. FreeBSD didn't need it because
they removed a tags special case for libc.
2024-06-29 11:32:50 -04:00
John Ericson
c08bf286c5 netbsd.libpthread{,-headers}: Inline base.nix
It is just one line and thus not worth factoring out.
2024-06-21 18:38:17 -04:00
John Ericson
0281c72ed3 netbsd: let-bind buildNetbsd
This way there is less "knowing our own name".
2024-06-21 18:38:17 -04:00
John Ericson
0bf10957e2 netbsd: Sort top package set file 2024-06-21 18:38:17 -04:00
John Ericson
e34c3f7856 netbsd.libc: Create from constituent pkgs not hack
The old `postInstall` was ugly, and made for a needlessly course-grained
package. This makes more smaller derivations, and ones that additionally
can be built in parallel.
2024-06-21 17:06:37 -04:00
John Ericson
8cc7430d51 netbsd.libc: Use multiple outputs
Generally good practice.
2024-06-21 16:55:16 -04:00
John Ericson
94424da4fc netbsd: Remove a bunch of unneeded rsync deps
Now that we assemble the source code per each package in a separate prep
derivation since b6727bbeac, we don't need
rsync in the package proper derivations.
2024-06-21 16:55:16 -04:00
John Ericson
80d3b5dbf9 netbsd: No _mainLibcExtraPaths
These didn't actually affect `netbsd.compat`, so I inlined the variable
back to `libc` again.
2024-06-21 16:55:14 -04:00
John Ericson
744d7e7477 *bsdCross: Remove these package sets
I realized what rhelmot did in 61202561d9
(specify what packages just need `stdenvNoLibc`) is definitely the right
approach for this, and adjusted NetBSD and OpenBSD to likewise use it.
With that change, we don't need these confusing and ugly `*bsdCross`
package sets at all!

We can get rid of a lot more libc-related `*Cross`, and I will do so
soon, but this is the first step.

(adapted from commit 51f1ecaa59)
2024-06-21 11:47:36 -04:00