!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

555 Members
119 Servers

Load older messages


SenderMessageTime
28 Aug 2025
@artturin:matrix.orgArtturin
In reply to @dramforever:matrix.org

Everything in buildPackages has to be rebuild anyways since it can't be shared with native pkgs

they are shared

nix-repl> pkgsCross.riscv64.buildPackages.llvm
«derivation /nix/store/1fflvvc3y3qv9pdjxf2j50wkxp8g4f8y-llvm-19.1.7.drv»

nix-repl> llvm                                 
«derivation /nix/store/1fflvvc3y3qv9pdjxf2j50wkxp8g4f8y-llvm-19.1.7.drv»
Oh, I guess I've always missed that somehow and thought that we would reduce the amount of rebuilds of we used depsBuildBuild for target independent packages
11:14:01
@artturin:matrix.orgArtturin* Oh, I guess I've always missed that somehow and thought that we would reduce the amount of rebuilds if we used depsBuildBuild for target independent packages11:14:13
@artturin:matrix.orgArtturin:p11:14:17
@dramforever:matrix.orgdramforever but as a general rule this is why targetPlatform is bad 11:14:17
@dramforever:matrix.orgdramforeveryes, depending on targetPlatform is what makes pkgsBB and pkgsBH different. this is kinda like, the point11:16:00
@artturin:matrix.orgArtturinAnyone seen this issue before? https://github.com/NixOS/nixpkgs/issues/437626 I found a patch that fixes it but it's weird that no one else has encountered the issue? https://github.com/NixOS/nixpkgs/pull/43766811:19:26
@artturin:matrix.orgArtturinDoes no one else use nginx with ssl on a raspi?11:19:56
@artturin:matrix.orgArtturin* Does no one else use nginx with http2 and ssl on a raspi?11:20:16
@sbc64:matrix.orgsbc64 changed their profile picture.14:23:44
29 Aug 2025
@chn:chn.moe陈浩南 changed their profile picture.05:07:42
2 Sep 2025
@corridor4572:matrix.orgRichInOverdraft changed their profile picture.16:20:41
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) Hmm, nom build -f . pkgsCross.s390.linuxPackages.kernel explodes (error: attribute 'target' missing from kernelConf), what am i missing here? 22:14:17
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) there exists stdenv.hostPlatform.linux-kernel, but i can't tell where it is being set 22:22:14
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) okay nevermind, there just is nothing in platforms.nix. Too much effort getting this working for what was intended to be a dumb joke 22:35:52
3 Sep 2025
@winter:catgirl.cloudWinter is overriding the target's libc with crossOverlays expected to not do anything, instead needing to go through overlays? (i guess libc isn't used from targetPackages because [cc is grabbed from buildPackages](https://github.com/NixOS/nixpkgs/blob/c6a788f552b7b7af703b1a29802a7233c0067908/pkgs/stdenv/cross/default.nix#L106)?) 15:00:26
@winter:catgirl.cloudWinteris there a way i'm missing to modify the libc used by the target system without modifying the libc used by the builder's stdenv?15:02:42
@winter:catgirl.cloudWinter though i'd expect libc to be taken from targetPackages, it's not: doing e.g. glibc = throw "" in crossOverlays does not throw 15:04:10
@winter:catgirl.cloudWinteri think my dumb hackery is exacerbating my issues, disrgeard ^^15:11:51
@winter:catgirl.cloudWinter* i think my dumb hackery is exacerbating my issues, disregard ^^15:11:57
@ghpzin:envs.netghpzin joined the room.18:23:21
@stephen:crabsin.spacen3tcat changed their display name from Stephen D to n3tcat.19:43:26
@stephen:crabsin.spacen3tcat 19:43:26
@stephen:crabsin.spacen3tcat 19:43:56
@stephen:crabsin.spacen3tcat 19:43:56
@stephen:crabsin.spacen3tcat 19:44:06
@tmplt:matrix.orgViktor Vilhelm Sonesten joined the room.20:34:50
4 Sep 2025
@fliegendewurst:matrix.orgFliegendeWurst changed their display name from FliegendeWurst (@GPN23) to FliegendeWurst.08:34:26
6 Sep 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Ever OOMed by Element) to SomeoneSerge (@nixcon & back on matrix).09:20:33
7 Sep 2025
@ggemre:matrix.orgnkl joined the room.15:48:05
8 Sep 2025
@inayet:matrix.orgInayet set a profile picture.02:17:02

Show newer messages


Back to Room ListRoom Version: 6