Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th March 2024
BingWithLessSandwich's Avatar
BingWithLessSandwich BingWithLessSandwich is offline
New User
Join Date: Mar 2024
Posts: 5
Post Nix channel for FreeBSD kernel

Tried to install a test package after setting it up with the channel nixpkgs https://nixos.org/channels/nixpkgs-23.11-darwin and running this command to install the brave browser sudo nix-env -iA nixpkgs.brave, and i got this error.

       … while evaluating a branch condition
         at /nix/store/lzr8x40593rlbmn1isfr8hdskq9hhm2f-nixpkgs-23.11-darwin/nixpkgs/pkgs/stdenv/booter.nix:64:9:
           63|       go = pred: n:
           64|         if n == len
             |         ^
           65|         then rnul pred

       … while calling the 'length' builtin
         at /nix/store/lzr8x40593rlbmn1isfr8hdskq9hhm2f-nixpkgs-23.11-darwin/nixpkgs/pkgs/stdenv/booter.nix:62:13:
           61|     let
           62|       len = builtins.length list;
             |             ^
           63|       go = pred: n:

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Unknown kernel: freebsd
Is it the problem that i need to set up a Nix channel specific for the FreeBSD kernel (if it is please tell me)?
If it isn't what it is?
Reply With Quote
  #2   (View Single Post)  
Old 24th March 2024
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
Join Date: Dec 2015
Location: London
Posts: 468

Doesn't look like Nix packages work under FreeBSD without some additional provisioning: https://github.com/nixos-bsd/nixbsd

Never tried it though so I might be wrong.
Destruam et ædificabo
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Youtube channel about UNIX, LINUX, programming victorvas Off-Topic 2 16th March 2022 03:39 PM
OpenBSD IRC channel chat about DMZ and vlan J65nko General software and network 3 25th December 2009 11:15 PM
FreeBSD Kernel Optimization komodo FreeBSD General 5 22nd June 2009 07:15 AM
Understanding the FreeBSD kernel TomAmundsen FreeBSD General 3 7th July 2008 02:48 PM
mplayer osd - set label of audio channel Grizzly FreeBSD General 0 7th June 2008 08:37 PM

All times are GMT. The time now is 05:16 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick