!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

328 Members
104 Servers

Load older messages


SenderMessageTime
17 Jan 2024
@samueldr:matrix.orgsamueldr *

I've been thinking about B-right/V and how to help it out a bit produce working things... so one of the main "issues" is that it is not a unix, so many assumptions fail in programs...

... but it does have a unixemu runtime / alternative set of libraries implementing a lot of unixness.

so the main problem(s) I'm seeing here is as follows:

  • I need the produced gcc to work either with the default libg (their libc) or with unixemu
  • the produced gcc needs to links to something to work... but I guess it's fine if it links to unixemu stuff? (see follow-ups)
  • using the specs files to fix default linking might not be the proper solution here

that is because I would like to, somehow, have:

  • The default stdenv assume linking with unixemu things (just a few CFLAGS/LDFLAGS
  • A brightv.sdkStdenv that turns off that knob and adds the "non-unixemu" flags

so I guess I need to find a way to get the cross gcc built without patching in the "brightv-flavoured" environment, and without somehow tainting the stdenv with whatever workarounds that implies using

21:20:26
25 Jan 2024
@axolotl:the-apothecary.club@axolotl:the-apothecary.club joined the room.05:52:37
27 Jan 2024
@noiobeforebedtime:winesj.comJack​ changed their display name from Jack to Jackoe.01:59:36
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their profile picture.16:53:48
@lehmanator:gnulinux.club@lehmanator:gnulinux.club removed their display name Sam Lehman.16:59:53
@lehmanator:gnulinux.club@lehmanator:gnulinux.club left the room.17:03:37
29 Jan 2024
@lehmanator:tchncs.deSam Lehman joined the room.11:00:10
@lehmanator:tchncs.deSam Lehman set a profile picture.11:06:01
30 Jan 2024
@erremilia:matrix.org@erremilia:matrix.org left the room.19:55:32
31 Jan 2024
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.03:36:44
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.06:22:20
2 Feb 2024
@p14:matrix.orgp14 is gettext meant to have bash in its buildInputs? (Should it not be a nativeBuildInput?) Under pkgsStatic, it gets propagated. So if you do something like nix build --dry-run nixpkgs#pkgsStatic.gettext, it fetches bash-dev, because under cross, the buildInput becomes a propagatedBuildInput for some reason. I noticed because I was puzzled that bash ended up as a dependency. 19:38:40
@qyliss:fairydust.spaceAlyssa RossYes, because it installs bash scripts that need to have their shebang patched.19:45:32
@qyliss:fairydust.spaceAlyssa RossIIRC19:46:16
@p14:matrix.orgp14 Nothing crossOverlays = [(self: super: { gettext = super.gettext.override { bash = super.buildPackages.bash; }; })]; can't fix I suppose... 🤫 19:50:51
3 Feb 2024
@tanja-6584:matrix.orgTanja (Old; I'm now @tanja:catgirl.cloud) joined the room.02:52:59
@networkexception:chat.upi.li@networkexception:chat.upi.li changed their profile picture.11:49:19
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

Show newer messages


Back to Room ListRoom Version: 6