| 25 Nov 2025 |
Artturin | * Also got these to not compile gtk and some other packages
nixpkgs.overlays = [
(final: prev: {
stoken = prev.stoken.override { withGTK3 = false; };
alsa-utils = prev.alsa-utils.override {
withPipewireLib = false;
fftw = null;
};
alsa-plugins = prev.alsa-plugins.override {
libpulseaudio = null;
speexdsp = null;
};
sdl2 = prev.sdl2.override {
pipewireSupport = false;
pulseaudioSupport = false;
x11Support = false;
jackSupport = false;
};
ffmpeg = prev.ffmpeg_7-headless.override {
withSpeex = false;
withOpenmpt = false;
};
})
];
| 19:01:10 |
Artturin | And I import (modulesPath + "/profiles/minimal.nix") | 19:02:51 |
Artturin | Just updated my raspi and took me 1H to compile everything on r5 5900x | 19:03:35 |
Artturin | * Just updated my raspi and took me 1H to compile everything on r9 5900x | 19:03:42 |
eb | Thanks for all the info! | 19:06:35 |
Artturin | eb:
(
{ config, pkgs, ... }:
{
options.nixpkgsNative.pkgs = lib.mkOption {
type = lib.types.pkgs;
default = null;
description = "Native nixpkgs for the system being cross-compiled to get native packages to reduce build amounts";
};
config.nixpkgsNative.pkgs = import pkgs.path {
localSystem = config.nixpkgs.crossSystem;
inherit (config.nixpkgs) crossSystem config;
};
}
)
config.nixpkgsNative.pkgs.mpv-unwrapped
| 20:51:23 |
Artturin | made this thing so I can pass the native pkgs around without using specialArgs | 20:51:39 |
eb | Nice, ty.
I did a similar thing to avoid specialArgs, but with pkgs.unstable as an overlay for nixpkgs-unstable when I needed it downstream for other reasons.
| 21:51:05 |
| 26 Nov 2025 |
| Mindavi joined the room. | 11:56:47 |
Artturin | https://github.com/NixOS/nixpkgs/pull/465092 | 21:48:02 |
| 27 Nov 2025 |
szlend | How come this is an issue with CGO disabled? It shouldn’t use CC at all | 07:55:18 |
Artturin | Yesterday I found an issue somewhere which IIRC mentioned something about something trying to use CGO/compiler even when it's off | 17:32:21 |
Artturin | I'm trying to find it again | 17:32:28 |
Artturin | That likely is the root cause of the issue as before just disabling CGO and unsetting GOARCH was enough https://github.com/nixos/nixpkgs/commit/78b312a895f8368746318bacb2634a151e8ea6ae | 17:38:09 |
szlend | Maybe this will fix it? https://github.com/NixOS/nixpkgs/pull/458867/ | 19:54:37 |
szlend | Or maybe even https://github.com/NixOS/nixpkgs/pull/461615 | 19:55:17 |
Artturin |  Download screenshot_2025-11-27_22-25-29_895546503.png | 20:26:07 |
Artturin | Both are in unstable already :P | 20:28:32 |
Artturin | The first one probably fixed it | 20:28:52 |
Artturin | But was reverted | 20:29:14 |
Artturin | Well maybe not, I don't see anything that would have fixed it | 20:36:43 |
Artturin | It used to work in August | 20:37:15 |
Artturin | Working fbcf476f790d8a217c3eab4e12033dc4a0f6d23c
Not working 050e09e091117c3d7328c7b2b7b577492c43c134 | 20:44:41 |
| 28 Nov 2025 |
| Grimmauld (any/all) changed their display name from grimmauld (any/all) to musl-official | Grimm | any/all. | 11:35:38 |
| Grimmauld (any/all) changed their display name from musl-official | Grimm | any/all to Grimmauld (any/all). | 11:36:00 |
| 30 Nov 2025 |
| Nadia joined the room. | 08:44:36 |
| aleksi joined the room. | 16:28:18 |
bake.monorail | Not sure anyone is interested but I'm trying to get ld64 (Apple's linker) to work on Linux. Broader plan is to be able to cross-compile hello for macOS from Linux | 18:30:00 |
alexfmpe |
Broader plan is to be able to cross-compile hello for macOS from Linux
is that huh feasible? I thought building for macos required all sorts of proprietary/legal shenanigans
| 22:11:14 |
Randy Eckenrode | My ld64 fork is set up to not need private headers, which should make the port easier. There’s a bunch of platform-specific stuff that needs updated to use portable APIs or a different implementation on non-Darwin. | 22:14:25 |