Commit Graph

203 Commits

Author SHA1 Message Date
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
Audrey Dutcher
c9b08ff772 freebsd.getent: init 2024-06-17 08:57:44 -07:00
Audrey Dutcher
d942e3fec6 freebsd.pwd_mkdb: init 2024-06-17 08:57:43 -07:00
Audrey Dutcher
27b9567edd freebsd.nscd: init 2024-06-17 08:57:42 -07:00
Audrey Dutcher
b51604ab2a freebsd.mount: init 2024-06-17 08:57:40 -07:00
Audrey Dutcher
c171489cc5 freebsd.top: init 2024-06-17 08:57:39 -07:00
Audrey Dutcher
77177e301e freebsd.sysctl: init 2024-06-17 08:57:37 -07:00
John Ericson
c5b1ce10d9
Merge pull request #315176 from rhelmot/freebsd-minimal3/freebsd-various
freebsd: various improvements and new packages
2024-06-16 23:16:31 -04:00
Audrey Dutcher
ae7c4ca17f freebsd.libcxxrt: fixup in preparation for inclusion in stdenv
- add option to build without libcxx
- don't build with libcxx
- distribute headers
2024-06-12 07:41:44 -07:00
Audrey Dutcher
41c2bba81e freebsd.ldd: init 2024-05-31 13:25:22 -07:00
Audrey Dutcher
8d5db1db16 freebsd.iconv: init 2024-05-31 13:25:22 -07:00
Audrey Dutcher
1bc374d91d freebsd.cp: init
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
2024-05-31 13:25:22 -07:00
Audrey Dutcher
2bf350788c freebsd.bin: init
This is a single derivation containing everything in /bin on a normal
FreeBSD machine, which is an incredibly compact set of core utilities.
2024-05-31 13:25:22 -07:00
Audrey Dutcher
fe0a405397 freebsd.locale: init 2024-05-31 13:25:22 -07:00
Audrey Dutcher
2c41534d75 freebsd.locales: init
The parameters to control which locales are built are placeholders.
2024-05-31 13:25:22 -07:00
Audrey Dutcher
ce0a5ce340 freebsd.localedef: init 2024-05-31 13:25:10 -07:00
Audrey Dutcher
892f600edd freebsd.libcapsicum: init 2024-05-31 10:37:44 -07:00
Audrey Dutcher
7853602867 freebsd.libcasper: init 2024-05-31 10:37:44 -07:00
Audrey Dutcher
ae993bd1e3 freebsd.libdl: init 2024-05-31 10:37:44 -07:00
Audrey Dutcher
a753d385da freebsd.libjail: init 2024-05-31 10:37:44 -07:00
Audrey Dutcher
98587064a0 freebsd.libedit: init 2024-05-31 10:37:44 -07:00
Audrey Dutcher
d792ea2d41 freebsd.{libncurses,libncurses-tinfo}: init
These packages are preferred over libncurses proper for some in-tree
FreeBSD packages.
2024-05-31 10:37:44 -07:00
Audrey Dutcher
95fa436fbe freebsd.libelf: init 2024-05-31 10:37:43 -07:00
Audrey Dutcher
d78f853f7e freebsd.libxo: init 2024-05-31 10:37:43 -07:00
Audrey Dutcher
61202561d9 freebsd.{libc,compat,include}: use no-libs stdenv
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.
2024-05-31 10:37:43 -07:00
Audrey Dutcher
ba5f1b4400 freebsd.mkDerivation: process patches generated with git
The diff parsing was pretty hardcoded for diff -u. Now it should handle
git diff/show as well.
2024-05-31 10:37:43 -07:00
Audrey Dutcher
2785d4f4ae freebsd.filterSource: use a less featureful rsync
By adding fewer dependencies, the FreeBSD native bootstrap tarball
becomes lighter.
2024-05-31 10:37:43 -07:00
Audrey Dutcher
295c645d80 freebsd.boot-install: wrap coreutils install instead of netbsd
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.
2024-05-31 10:37:43 -07:00
Audrey Dutcher
bcaca23529 freebsd.compat: re-add lost patch
This patch was applied to 14.0 but not 13.1. It is necessary for 13.1 as
well.
2024-05-31 10:37:43 -07:00
Vladimír Čunát
5804775d03
Merge branch 'staging' into staging-next 2024-05-31 07:30:41 +02:00
Audrey Dutcher
23f95cd5a8 freebsd.libcxxrt: init
This package will be necessary down the line for binary patching
applications built for non-nix FreeBSD. It is additionally being
considered for inclusion in FreeBSD libcxx, both cross and native.
2024-05-30 09:40:46 -07:00
Sigmanificient
8b473d1a27 treewide: remove unused fetch* (and other) arguments 2024-05-30 13:36:48 +02:00
Ali Abrar
888dee445d openbsd: init at 7.5 2024-05-26 10:55:56 -04:00
John Ericson
d9c9da5d65 netbsd.makeMinimal: Make it possible to override the rules
Co-authored-by: Rahul Butani <rrbutani@users.noreply.github.com>
2024-05-26 10:55:15 -04:00
github-actions[bot]
a759c7f2d0
Merge staging-next into staging 2024-05-20 18:01:42 +00:00
Audrey Dutcher
feef074d47 freebsd: Don't discard request to strip installed binaries 2024-05-20 19:18:29 +02:00
sternenseemann
8dbe89fbe0 freebsd: fix eval with Nix < 2.6 2024-05-20 17:56:56 +02:00
Audrey Dutcher
2cc214b4c3 freebsd: 13.1.0 -> 14.0.0
The old patches are kept because the version is actually configurable.
In the future both versions may be exposed.

Co-Auhtored-By: Artemis Tosini <me@artem.ist>
Co-Authored-by: John Ericson <John.Ericson@Obsidian.Systems>
2024-05-11 21:52:31 -04:00
Artemis Tosini
06b05d2289 freebsd: Cleanup, get ready to support version 14
* Extend libc

  Include non-libc core libraries in the libc package. Many of these
  mirror libraries present in glibc on linux, such as libgcc, libraries
  used for iconv, and libraries used for reading kernel info (libkvm,
  libprocstat, libmemstat).

  Without this many packages outside the freebsd tree would need to be
  modified to include standard dependencies which would already be on
  the system for other packages.

* Mark FreeBSD as using LLVM

* Update default LLVM version FreeBSD

* Use patch monolith

  The patchesRoot system combined with the fact that each derivation
  will Request specific names of patches makes it very annoying to use
  other FreeBSD source trees with nixpkgs. This new system allows
  providing one Or more entire trees of patches whose contents will be
  dynamically Parsed and only the relevant patches will be applied for
  any one Derivation.

  With this commit, the following knobs are available for specifying the
  FreeBSD source:

  - overriding `freebsd.versionInfo`, for picking another official
    supported FreeBSD release.

  - overriding `freebsd.source` for specifying a specific unpatched
    FreeBSD source tree.

  - overriding `freebsd.patches`, for specifying the patches to apply.

Co-Authored-by: Audrey Dutcher <audrey@rhelmot.io>
Co-Authored-by: John Ericson <John.Ericson@Obsidian.Systems>
2024-05-11 21:52:07 -04:00
John Ericson
3fe3b055ad bsd treewide: Run RFC formatter 2024-05-06 10:59:45 -04:00