diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-10-31 08:35:51 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-11-04 16:49:28 -0400 |
commit | 66aa02f190d17b4e7c4bf0f7f891984647a38234 (patch) | |
tree | c18caf98baa04b8cb57a6287847eae1789a872a5 /lib/systems/inspect.nix | |
parent | f172d86a4e1bd84e6d2f4de3bceba36f58095484 (diff) |
lib/systems: Support FreeBSD
A tricky thing about FreeBSD is that there is no stable ABI across versions. That means that putting in the version as part of the config string is paramount. We have a parsed represenation that separates name versus version to accomplish this. We include FreeBSD versions 12 and 13 to demonstrate how it works.
Diffstat (limited to 'lib/systems/inspect.nix')
-rw-r--r-- | lib/systems/inspect.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix index ee213438e0485..4e0bb8e672e9a 100644 --- a/lib/systems/inspect.nix +++ b/lib/systems/inspect.nix @@ -59,7 +59,7 @@ rec { isiOS = { kernel = kernels.ios; }; isLinux = { kernel = kernels.linux; }; isSunOS = { kernel = kernels.solaris; }; - isFreeBSD = { kernel = kernels.freebsd; }; + isFreeBSD = { kernel = { name = "freebsd"; }; }; isNetBSD = { kernel = kernels.netbsd; }; isOpenBSD = { kernel = kernels.openbsd; }; isWindows = { kernel = kernels.windows; }; |