!rGlCMuXgAhgEpdvJUz:nixos.org

NixOS KDE

190 Members
54 Servers

Load older messages


SenderMessageTime
13 Nov 2025
@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
@k900:0upti.meK900I think the proper fix is to basically build a "cross qt" properly, with targetPlatform08:36:24
@k900:0upti.meK900 Which is very cursed 08:36:30
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) the problem is, the canExecute check is different than whatever cmake checks to detect cross, and that mismatch causes issues 08:42:53
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)sure i could build it fully cross, but i don't see the reason to. If i can execute, then i can cheat and build that part as native08:43:31
18 Nov 2025
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) changed their display name from jopejoe1 to jopejoe1 (4094@39c3).20:19:03
20 Nov 2025
@user12592851:matrix.orgJohn joined the room.06:25:27

Show newer messages


Back to Room ListRoom Version: 9