!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

200 Members
57 Servers

Load older messages


SenderMessageTime
13 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) currently just experimenting with llvm musl, no cross yet 10:47:48
@k900:0upti.meK900 Huh, what are you overriding there? 10:54:48
@k900:0upti.meK900 Or just removing the GTK dependency? 10:55:15
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) ye just setting withGtk3 = false 10:57:18
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)qtbase and gst-bad are the two things pulling gtk3, and both can be killed by override10:57:53
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i have already killed go, haskell and fortran. Now there is no gtk3 or qt5 either. I'll want qt6 (because quickshell), and i need sdl3/sdl2 (because i like ffplay, and qemu display is sdl)10:59:15
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) but i am slowly killing all the ugly garbage 10:59:37
@k900:0upti.meK900 What are you trying to build? 11:00:02
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)my musl vm, today building with llvm instead of gcc (and doing some more cleanup)11:00:26
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)I have found some crimes in nixpkgs already11:00:53
@k900:0upti.meK900 No I mean like, what's in the closure 11:01:10
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)E.g. https://github.com/NixOS/nixpkgs/blob/9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4/pkgs/by-name/x2/x265/package.nix#L130-L133 can just be removed.11:01:21
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) its a normal-ish nixos system. There is systemd, sway, quickshell, servo, polkit, pam, networkd, nftables, all the good stuff 11:02:05
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)and quickshell pulls qt6, but i don't want gtk3 on here11:02:43
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) i am hoping i can get this system small enough to actually track staging instead of staging-next half way into the cycle 11:03:47
@k900:0upti.meK900 Speaking of 11:05:10
14 Nov 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) Btw, is this intended:
https://github.com/NixOS/nixpkgs/blob/0d9bcf4d56844168da8ea9d32b01eed507bb0371/pkgs/development/libraries/qt-6/default.nix#L65-L68
https://github.com/NixOS/nixpkgs/blob/0d9bcf4d56844168da8ea9d32b01eed507bb0371/pkgs/development/libraries/qt-6/modules/qtbase/default.nix#L78

withGtk3 defaults to force, but is then forced to true. Feels wonky. Shouldn't the default itself be !withMingw if that is really what we want?
08:22:36
@k900:0upti.meK900Probably should yeah08:27:05
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) There is also something wrong with the cross check:
https://github.com/NixOS/nixpkgs/blob/0d9bcf4d56844168da8ea9d32b01eed507bb0371/pkgs/development/libraries/qt-6/modules/qtbase/default.nix#L90
it is a canExecute check, but this fails on cross targets that can actually be executed, such as building x86_64-unknown-linux-musl as cross (as in, useLLVM = true in the host platform config while on a glibc build system). This makes cmake confused and complain about a missing DQT_HOST_PATH.
Can be fixed by adding (lib.cmakeBool "CMAKE_CROSSCOMPILING" isCrossBuild) cmake flag to force cmake to treat executable cross as native build.
08:27:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) Btw, is this intended:
https://github.com/NixOS/nixpkgs/blob/0d9bcf4d56844168da8ea9d32b01eed507bb0371/pkgs/development/libraries/qt-6/default.nix#L65-L68
https://github.com/NixOS/nixpkgs/blob/0d9bcf4d56844168da8ea9d32b01eed507bb0371/pkgs/development/libraries/qt-6/modules/qtbase/default.nix#L78

withGtk3 defaults to false but is then forced to true. Feels wonky. Shouldn't the default itself be !withMingw if that is really what we want?
08:27:22
@k900:0upti.meK900 Qt cross is still extremely cursed 08:27:43
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)yes08:27:48
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but i am doing it and i think this is a fix we should do08:28:00
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) (if it works, we'll see) 08:28:08
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)feels weird to have executable cross fail while non-executable cross just works08:29:08
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)though the issue is the same in other qt components08:30:11
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)its a bit painful08:30:14
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)* though the issue is the same in other qt components too08:30:27
@k900:0upti.meK900 Any effort towards unfucking it will be greatly appreciated 08:31:07
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)the proper fix is probably some cmake fuckery...08:33:20

Show newer messages


Back to Room ListRoom Version: 9