!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

331 Members
105 Servers

Load older messages


SenderMessageTime
6 Feb 2024
@rhelmot:matrix.orgrhelmotNot particularly exotic but - somehow while messing with nixpkgs for FreeBSD I broke llvm tests on Linux. The failing test case seems to complain about the dot executable not being in the path? I can’t find any evidence of this having ever been a dependency or a disabled test, so what could have gone wrong?02:40:11
@rhelmot:matrix.orgrhelmotThe change that broke it had nothing to do with llvm - I changed a var that should be a no-op on Linux for bison02:41:42
@rhelmot:matrix.orgrhelmotNote that this is the nix installed from Ubuntu apt, which doesn’t use the sandbox02:42:08
8 Feb 2024
@raitobezarius:matrix.orgraitobezariusI'd ask if you can reproduce this with sandbox first18:53:37
@raitobezarius:matrix.orgraitobezariusWe don't really support sandboxless usecases18:53:41
@rhelmot:matrix.orgrhelmotI did in fact try with the sandbox and it worked perfectly19:00:33
@rhelmot:matrix.orgrhelmotDebian considered harmful I guess19:00:48
@trofi:matrix.orgtrofi I'd say it's a nix's defaults bug that it allows for an unsandboxed runs so easily. 22:59:25
@trofi:matrix.orgtrofi

I ended up disabling the fallback by default to guard users from the similar pitfalls:

  • https://github.com/trofi/nix-guix-gentoo/blob/master/sys-apps/nix/files/nix-2.16-no-sandbox-fallback.patch
  • https://github.com/trofi/nix-guix-gentoo/blob/master/sys-apps/nix/files/nix-2.16-no-sandbox-fallback-README.patch
23:00:22
@raitobezarius:matrix.orgraitobezariusseems like something every other distro should copy23:11:14
10 Feb 2024
@symys:catgirl.cloudsymys joined the room.02:31:19
11 Feb 2024
@raitobezarius:matrix.orgraitobezarius rhelmot: Would you mind if I had a summary of https://github.com/NixOS/nixpkgs/pull/254801#issuecomment-1937118809 for posting a news entry on the FreeBSD support in Nix(pkgs)? 12:44:18
@raitobezarius:matrix.orgraitobezariusThat seems quite awesome work ongoing12:44:35
@raitobezarius:matrix.orgraitobezariusAlso, if you could detail what's your plan for CI, let me know12:47:34
@raitobezarius:matrix.orgraitobezariusI can see what's feasible in the side of nixpkgs infrastructure12:47:41
@raitobezarius:matrix.orgraitobezariusOr recommend you potential venues for sponsoring ofc12:47:50
@rhelmot:matrix.orgrhelmot
In reply to @raitobezarius:matrix.org
rhelmot: Would you mind if I had a summary of https://github.com/NixOS/nixpkgs/pull/254801#issuecomment-1937118809 for posting a news entry on the FreeBSD support in Nix(pkgs)?
Sure! Do you just want me to write a summary of that one comment? Where is it being posted, for tone reasons?
16:36:11
@raitobezarius:matrix.orgraitobezarius #thisweek-feed:nixos.org #thisweek:nixos.org 16:36:24
@rhelmot:matrix.orgrhelmotpog16:36:34
@raitobezarius:matrix.orgraitobezariusyou can either write your post yourself in a self service way by going to the 2nd channel16:36:37
@rhelmot:matrix.orgrhelmot Ok one sec 16:36:38
@raitobezarius:matrix.orgraitobezariusand I can ack it and it will be posted to the feed16:36:43
@raitobezarius:matrix.orgraitobezariusif you want inspiration: https://matrix.org/category/this-week-in-matrix/16:36:59
@rhelmot:matrix.orgrhelmot

Enhanced FreeBSD support for nix and nixpkgs is on its way thanks to rhelmot and artemist! As of this week, nix support for sandboxed building with FreeBSD jails is an open pull request, along with a fully fledged stdenv for native use of nix on FreeBSD. Progress is ongoing to support desktop environments and a full FreeBSD-based nixos platform.

Due to a review of the FreeBSD backwards compatibility capabilities, the platform tuple was able to change to drop the major version number. Packages will be built by default for the lowest supported version of FreeBSD (14 at present), but can be built to take advantage of newer features by specifying build parameters.

For more information, check out https://github.com/NixOS/nixpkgs/pull/254801#issuecomment-1937118809

17:09:19
@rhelmot:matrix.orgrhelmot Does that sound good raitobezarius 17:09:39
@rhelmot:matrix.orgrhelmot My hope for CI was to be able to do a fully-featured set of auto builders that has feature parity with the Linux stuff. 17:12:27
@raitobezarius:matrix.orgraitobezarius very good rhelmot ! 18:33:18
@raitobezarius:matrix.orgraitobezarius rhelmot: let me know if you want me to post it 18:41:07
@rhelmot:matrix.orgrhelmotYes, please post it19:45:49
@raitobezarius:matrix.orgraitobezarius
In reply to @rhelmot:matrix.org
Yes, please post it
done!
19:48:35

Show newer messages


Back to Room ListRoom Version: 6