Exotic Nix Targets | 339 Members | |
| 105 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Mar 2026 | ||
| Hmm, I added hardeningDisable to an overlay, it didn't seem to work exactly | 17:21:47 | |
| Is this another case where you can't overlay it, and you have to fix it in nixpkgs because of bootstrap stuff? | 17:22:01 | |
| like with bash | 17:22:04 | |
| I notice the build graph starts off with a glib that does get fixed, and then ends on another glib which is not fixed | 17:22:22 | |
Download image.png | 17:22:43 | |
| hmm, maybe it's from some library glib links or something, then? maybe you can catch it in a debugger | 18:49:00 | |
| 10 Mar 2026 | ||
| 05:34:54 | ||
| 👋 | 05:35:11 | |
| hey 👋 | 05:35:51 | |
| so ArchPOWER's ppc64 build has a 64k page size? have you run into any issues with that, or know of any patches they're applying for that to work? | 05:36:53 | |
| i've only ever tested 4K, cus that's what Debian uses | 05:37:21 | |
| yeah i ran into issues building jemalloc which is why i submitted that patch, tho it seems to vary by distro i guess, tbf I just got access to this machine today and figured I'd build a nix iso on it to try it out | 05:37:33 | |
| ahhh oki! | 05:37:48 | |
| do you know how the machine's firmware looks for bootable media? i have some PRs and a branch in my fork that works for making a PowerMac (and maybe CHRP?) compatible ISO, but i don't have access to anything newer than ~ POWER4. | 05:38:57 | |
| the branch in question, if you wanna give that a try: https://github.com/OPNA2608/nixpkgs/tree/wip/ppc64-installer | 05:42:12 | |
| i guess gentoo, suse, and fedora also use 64kb page sizes: https://github.com/gentoo/genkernel/blob/master/arch/ppc64/arch-config#L26 https://github.com/openSUSE/kernel-source/blob/master/config/ppc64le/default#L559 https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-ppc64le-fedora.config#_5366 also in the ppc kconfig it defaults to 64kb in certain scenarios interestingly - https://github.com/torvalds/linux/blob/master/arch/powerpc/Kconfig#L853 | 05:42:52 | |
| i am not sure tbh, i just found a zulip that offers free machines to ssh to and dev on tho...they are power8 btw | 05:43:24 | |
| my plan was to build the iso then ask the owner to install it in a dedicated vm to play around on | 05:43:41 | |
| hmm… prolly makes sense to default to the 64K-compatible setting for a function argument to override that would prolly still be nice though - could be interesting for someone measuring the performance impact and deciding to optimise for their system via an overlay. | 05:52:16 | |
| yeah i think providing a function argument makes sense | 05:53:10 | |
ig | 06:02:19 | |
with the isPower64 addition in a separate commit, just to separate that abit more cleanly | 06:03:55 | |
| would you prefer that to be before or after the configurable page size? | 06:04:35 | |
| doesn't really matter i think | 06:04:58 | |
| i was thinking exposing just "pageSize" would be less of a cognitive burden on users | 06:05:11 | |
| and just adding a simple mapping | 06:05:23 | |
| should be fine as well | 06:08:11 | |
| cool, just updated the pr | 06:14:34 | |
| if we reject non-int values for
maybe useful, prolly overkill. thoughts? | 06:26:57 | |
| * if we reject non-int values for
maybe useful, prolly overkill. thoughts? | 06:27:06 | |