30 May 2024 |
Colin | or if not, where to talk with others who are using such things in nix environments? | 14:17:25 |
raitobezarius | liminix is using s6 | 14:19:47 |
raitobezarius | i am not so sure who is using openrc | 14:19:53 |
raitobezarius | but i think here is mostly fine | 14:20:10 |
raitobezarius | but liminix author is not here | 14:20:14 |
Colin | oh, cool. i'll lurk in oftc #liminix and see what i catch there | 14:23:35 |
Colin | i'm using s6 for user services instead of the default systemd --user for a few months now, and i do enough weird stuff that i'm thinking if it wouldn't be simpler to push that lower and not even use systemd's system service manager
| 14:26:08 |
1 Jun 2024 |
| artemis changed their profile picture. | 21:21:48 |
2 Jun 2024 |
| EVA-01 changed their profile picture. | 04:13:46 |
4 Jun 2024 |
| raitobezarius changed their display name from raitobezarius (DECT: 7248) to raitobezarius. | 11:16:14 |
6 Jun 2024 |
artemist | Why are the LLVM packages so duplicated between versions? I have to add more junk because FreeBSD breaks some expectations of nixpkgs (FreeBSD uses lld, clang, and libc++, but uses libcxxrt instead of libc++abi and patched libunwind renamed to libgcc instead of libunwind) | 21:18:39 |
raitobezarius | it was easier to duplicate | 22:49:36 |
8 Jun 2024 |
| @samueldr:matrix.org joined the room. | 00:48:35 |
@samueldr:matrix.org | I need some help around building a rust project for aarch64-unknown-efi within Nixpkgs... for now just throwing this without details in the void to hear if there are obvious hints to follow | 18:31:10 |
@samueldr:matrix.org | I tried rai//to's lanzaboote stub rebased on current nixos-unstable, but compiler-rt won't build (segfaults) | 18:31:39 |
@samueldr:matrix.org | https://github.com/samueldr/nixpkgs/commits/wip/fdtshim/ what I have been using is this branch,
nix-build -A pkgsCross.x86_64-unknown-uefi.lanzaboote-uefi-stub
https://gist.github.com/samueldr/9e2052318b1601a1400a672ceaa3668b | 19:33:53 |
@samueldr:matrix.org | interesting note: I hadn't tried with aarch64 yet, compiler-rt builds | 19:37:13 |
@samueldr:matrix.org | (other down the line don't, but I haven't looked into it yet) | 19:53:07 |
@samueldr:matrix.org | * (other down the line don't, but I haven't looked into it yet; I was busy reporting the issue) | 19:56:07 |
@samueldr:matrix.org | with aarch64, building libunwind fails this way
clang: error: unable to execute command: Executable "gcc" doesn't exist!
clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
which assuming I can extrapolate from this
seems to imply I'm gonna hate diving into this | 20:58:42 |
@samueldr:matrix.org | hmmm... tried working around with wrapper scripts named gcc (and g++ ) but kinda unsurprisingly, stuff breaks later down the line | 23:52:42 |
@samueldr:matrix.org | this is the codepath where I think *-unknown-uefi for some reason is told to just use an ambiant (??) compiler https://github.com/llvm/llvm-project/blob/6009708b4367171ccdbf4b5905cb6a803753fe18/clang/lib/Driver/ToolChains/Gnu.cpp#L172-L177 | 23:53:17 |
10 Jun 2024 |
@samueldr:matrix.org | anywhere else in the NixOS matrix space I can ask and maybe reach people who can help get this going? | 18:38:58 |
trofi | maybe #cross-compiling:nixos.org or Nixpkgs Compilers team ? | 20:53:01 |
11 Jun 2024 |
| @networkexception:chat.upi.li changed their display name from networkException to networkException (moving to @networkexception:nwex.de). | 18:30:27 |
| camzer joined the room. | 23:50:43 |
12 Jun 2024 |
John Ericson | rhelmot: https://hydra.nixos.org/build/262696190 any idea why this might be happening? | 13:01:17 |
John Ericson | I am surprised it is a FreeBSD specific thing | 13:01:27 |
John Ericson | I'll try to fix it I suppose | 13:01:31 |
John Ericson | https://github.com/NixOS/nix/pull/10896 this should fix it | 14:54:51 |