| 28 Aug 2025 |
Alyssa Ross | https://github.com/NixOS/nixpkgs/pull/437867 | 10:14:02 |
Artturin | In reply to @dramforever:matrix.org okay i would like to clarify that i am saying that making util-linux depend on targetPlatform is not acceptable. that would make anyone cross compiling to rebuild everything in buildPackages that depends on util-linux So staging? Everything in buildPackages has to be rebuild anyways since it can't be shared with native pkgs (not saying the change should be done but rebuilding isn't an issue) | 10:14:47 |
Grimmauld (any/all) | formatter complains, but other than that this looks like the better fix. No buildPackages/targetPlatform hacks, which is nice. Though this is also very far outside my expertise. | 10:22:10 |
dramforever |
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»
| 11:08:25 |
dramforever | i suppose this is a bad example because llvm depends on util-linuxMinimal which doesn't depend on pam | 11:11:39 |
Artturin | 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 | * 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 packages | 11:14:13 |
Artturin | :p | 11:14:17 |
dramforever | but as a general rule this is why targetPlatform is bad | 11:14:17 |
dramforever | yes, depending on targetPlatform is what makes pkgsBB and pkgsBH different. this is kinda like, the point | 11:16:00 |
Artturin | Anyone 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/437668 | 11:19:26 |
Artturin | Does no one else use nginx with ssl on a raspi? | 11:19:56 |
Artturin | * Does no one else use nginx with http2 and ssl on a raspi? | 11:20:16 |
| sbc64 changed their profile picture. | 14:23:44 |
| 29 Aug 2025 |
| 陈浩南 changed their profile picture. | 05:07:42 |
| 2 Sep 2025 |
| RichInOverdraft changed their profile picture. | 16:20:41 |
Grimmauld (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 (any/all) | there exists stdenv.hostPlatform.linux-kernel, but i can't tell where it is being set | 22:22:14 |
Grimmauld (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 | 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 | is 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 | 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 | i think my dumb hackery is exacerbating my issues, disrgeard ^^ | 15:11:51 |
Winter | * i think my dumb hackery is exacerbating my issues, disregard ^^ | 15:11:57 |
| ghpzin joined the room. | 18:23:21 |
| n3tcat changed their display name from Stephen D to n3tcat. | 19:43:26 |
| n3tcat | 19:43:26 |
| n3tcat | 19:43:56 |
| n3tcat | 19:43:56 |
| n3tcat | 19:44:06 |