!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
129 Servers

Load older messages


SenderMessageTime
9 Oct 2021
@jcie74:matrix.orgpie_

(I think) When I try to add keepTreeHook, I run into:

cycle detected in the references of '/nix/store/bxspqrcrbqw9sbj3ap9rdrk4fpi8150h-gcc-10.3.0-lib' from '/nix/store/xrizkssnx1m7c0z1fji9qxd7kfd333jr-gcc-10.3.0'
error: build of '/nix/store/ck1vxcqvqzn488njy9iwhy8b90jznyd7-gcc-10.3.0.drv', '/nix/store/r6ipjr4ivr1lc61c2yxsk7l6xj9mdygs-gcc-wrapper-10.3.0.drv' failed
21:33:27
11 Oct 2021
@qyliss:fairydust.spaceAlyssa RossWe really need some mechanism to disable optional dependencies on systemd for musl09:53:35
@qyliss:fairydust.spaceAlyssa Rossor I suppose maybe we could try OpenEmbedded's patches10:12:30
@qyliss:fairydust.spaceAlyssa Rossnot a friendly response last time that was tried though D: https://github.com/NixOS/nixpkgs/pull/3771510:17:58
@symphorien:xlumurb.eusymphorienI saw a pr that introduced somthing to replace udev10:42:51
@symphorien:xlumurb.eusymphorienIf we reverted to actually use udev as an input instead of systemd when it makes sens, we could overlay udev with this replacement when on musl10:44:04
@qyliss:fairydust.spaceAlyssa Rossif you could find that PR that would be very interesting to me!10:51:29
@qyliss:fairydust.spaceAlyssa RossI was just packaging libudev-zero, which looks like it'll solve my problem, but there's no PR for that so it can't have been what you saw10:51:59
@symphorien:xlumurb.eusymphorien ah it was libudev zero as well: https://github.com/NixOS/nixpkgs/pull/136107/files#diff-7f4729ed07e44b3c1b72cd23f20173d664231e0ccac4709648176f389db17e9c 11:14:17
@qyliss:fairydust.spaceAlyssa Rossah, I can see why I didn't notice that with the title, lol11:15:27
@symphorien:xlumurb.eusymphorien(there are probably a lot of good things in this PR, but forcing a clang toolchain for icu and postgresql just to make qt work might be a little too hacky11:16:21
@symphorien:xlumurb.eusymphorien* (there are probably a lot of good things in this PR, but forcing a clang toolchain for icu and postgresql just to make qt work might be a little too hacky)11:16:22
@qyliss:fairydust.spaceAlyssa Rossyeah, this is the sort of thing that should be 10 smaller PRs11:16:51
12 Oct 2021
@sternenseemann:systemli.orgsterni trofi: https://github.com/nixos/nixpkgs/commit/199b7c505b0390429b08edf68552e8a6ff4a08ce broke pkgsStatic.llvmPackages.stdenv, patch doesn't apply there 11:33:00
@sternenseemann:systemli.orgsterninot sure if static or musl is the problem yet11:33:21
@sternenseemann:systemli.orgsternimaybe the patch touches generated code?11:33:27
@sternenseemann:systemli.orgsterni hm pkgsMusl.llvm's tests fail, is that new? 12:49:48
@trofi:matrix.orgtroficonditional patches--. will have a look in a few hours. probably musl patches touch libsanitizer's portability header as well and need minor tweaks.13:20:18
@sternenseemann:systemli.orgsterniah right looked in the wrong place (for 10)13:20:59
@sternenseemann:systemli.orgsternilikely the sanitizers-nongnu.patch for musl then13:21:06
@trofi:matrix.orgtrofiYeah, -nongnu patch touches the same removed CY* enums and fields. I'll clean musl patches up (should be a matter of clean removal of a few CY*-specific hunks) and send out a fix in ~1 hour.16:59:12
@sternenseemann:systemli.orgsterninice17:36:18
@trofi:matrix.orgtrofiProposed as https://github.com/NixOS/nixpkgs/pull/141397. I also noticed that llvm_{8..git} completely drop this backport probably due to the same conflict. I'll have a look at it and restore patches for newer versions. Should be trivial.19:00:38
13 Oct 2021
@janne.hess:helsinki-systems.deJanne Heß joined the room.15:17:29
@janne.hess:helsinki-systems.deJanne HeßHey, I don't know if this is the correct channel for these kinds of questions but I couldn't find any so this one is my best guess. Is there any easy way to test cross NixOS builds? Like my desktop or any other system? The reason I'm asking is that I need to test whether a PR that I created breaks cross builds15:19:08
@sternenseemann:systemli.orgsternido you want to test a package or a system configuration?15:36:38
@janne.hess:helsinki-systems.deJanne Heßa full system configuration15:42:21
@janne.hess:helsinki-systems.deJanne HeßIt's about a PR that changes top-level.nix 👀15:42:59
@sternenseemann:systemli.orgsterni Janne Heß: have you tried (pkgsCross.<platform>.nixos /path/to/configuration.nix).build? 15:43:46
@sternenseemann:systemli.orgsterniah it's not called build isn't it15:44:50

Show newer messages


Back to Room ListRoom Version: 6