!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

582 Members
127 Servers

Load older messages


SenderMessageTime
21 Apr 2025
@dramforever:matrix.orgdramforeveri am so confused00:30:44
@rosscomputerguy:matrix.orgTristan RossMe too00:31:20
@rosscomputerguy:matrix.orgTristan RossI rebased https://github.com/NixOS/nixpkgs/pull/390631 and got into this mess lol00:31:40
@rosscomputerguy:matrix.orgTristan Ross Just a simple nix build .#pkgsLLVM.linux 00:31:54
@dramforever:matrix.orgdramforeverjust patch the makefile00:32:09
@dramforever:matrix.orgdramforeverprint the heck out of everything00:32:24
@dramforever:matrix.orgdramforeveridk00:32:27
@dramforever:matrix.orgdramforever what on earth is Build 00:34:00
@rosscomputerguy:matrix.orgTristan Ross Huh, Build? 00:34:43
@dramforever:matrix.orgdramforeverare the tools just in a completely different world from the rest of the kernel build system?00:34:57
@rosscomputerguy:matrix.orgTristan RossI think so00:35:11
@dramforever:matrix.orgdramforeverhttps://github.com/torvalds/linux/blob/v6.6/tools/bpf/resolve_btfids/Build00:35:16
@dramforever:matrix.orgdramforeverare these... meant to be compilable outside the kernel?00:35:31
@dramforever:matrix.orgdramforever lol tools/build/Makefile.build 00:36:18
@dramforever:matrix.orgdramforever tools/: we have kbuild at home 00:36:31
@dramforever:matrix.orgdramforevercursed00:37:07
@rosscomputerguy:matrix.orgTristan RossSo my copy-paste method of rebasing didn't work lol00:40:04
@rosscomputerguy:matrix.orgTristan RossBut the original PR just works basically00:40:12
@rosscomputerguy:matrix.orgTristan Ross🤷00:40:27
@dramforever:matrix.orgdramforeveroh i didn't realize you were testing a PR 01:22:05
@rosscomputerguy:matrix.orgTristan RossI'm picking up development of the PR, I hope to fix it in 25.0504:54:32
@creepinson:matrix.org@creepinson:matrix.org left the room.04:58:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)wait can't i use pkgsCross to compile from aarch64 for x86_64-linux?06:57:46
@k900:0upti.meK900You can unless cross blows up06:57:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)its not listing as something in the attrset06:58:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)
[grimmauld@build05:~/nixpkgs]$ nix build .#pkgsCross.x86_64-
.#pkgsCross.x86_64-darwin         .#pkgsCross.x86_64-freebsd        .#pkgsCross.x86_64-netbsd-llvm    .#pkgsCross.x86_64-unknown-redox
.#pkgsCross.x86_64-embedded       .#pkgsCross.x86_64-netbsd         .#pkgsCross.x86_64-openbsd

[grimmauld@build05:~/nixpkgs]$ nix build .#pkgsCross.x86_64-linux.libapparmor
error: flake 'git+file:///home/grimmauld/nixpkgs' does not provide attribute 'packages.aarch64-linux.pkgsCross.x86_64-linux.libapparmor', 'legacyPackages.aarch64-linux.pkgsCross.x86_64-linux.libapparmor' or 'pkgsCross.x86_64-linux.libapparmor'

[grimmauld@build05:~/nixpkgs]$ nix build .#pkgsCross.x86_64-linux
error: flake 'git+file:///home/grimmauld/nixpkgs' does not provide attribute 'packages.aarch64-linux.pkgsCross.x86_64-linux', 'legacyPackages.aarch64-linux.pkgsCross.x86_64-linux' or 'pkgsCross.x86_64-linux'

[grimmauld@build05:~/nixpkgs]$
06:59:34
@k900:0upti.meK900 It's pkgsCross.gnu64 06:59:51
@k900:0upti.meK900The subset names are stupid06:59:56
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)huh07:00:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)thanks07:00:23

Show newer messages


Back to Room ListRoom Version: 6