!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1153 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org187 Servers

Load older messages


SenderMessageTime
26 Oct 2025
@samasaur:matrix.orgsamasaur so there's no need to do a real patch, we can just set CMAKE_FIND_FRAMEWORK=FIRST in qtbase itself which will override the setup hook 06:59:41
@samasaur:matrix.orgsamasaurand that is much easier to do conditionally on darwin as well07:00:34
@samasaur:matrix.orgsamasauractually im gonna force-push to that PR you linked with this better solution07:00:57
@samasaur:matrix.orgsamasaur

because it's literally just

diff --git a/pkgs/development/libraries/qt-6/modules/qtbase/default.nix b/pkgs/development/libraries/qt-6/modules/qtbase/default.nix
index ab35d1906f..5789292e47 100644
--- a/pkgs/development/libraries/qt-6/modules/qtbase/default.nix
+++ b/pkgs/development/libraries/qt-6/modules/qtbase/default.nix
@@ -292,6 +292,7 @@
     # When this variable is not set, cmake tries to execute xcodebuild
     # to query the version.
     "-DQT_INTERNAL_XCODE_VERSION=0.1"
+    "-DCMAKE_FIND_FRAMEWORK=FIRST"
   ]
   ++ lib.optionals isCrossBuild [
     "-DQT_HOST_PATH=${pkgsBuildBuild.qt6.qtbase}"
07:01:25
@samasaur:matrix.orgsamasaur not sure whether we want to do a PR to master so that qt is usable on darwin while we wait for staging, but this way we'll at least have the right fix available 07:02:12
@samasaur:matrix.orgsamasaurpersonally i just pinned my one offending package (prismlauncher) and am just gonna wait07:02:31
@prince213:matrix.orgprince213Nice to see a shorter patch to this07:05:12
@prince213:matrix.orgprince213I'd suggest that we target this to master, and add a comment to remove this line when 455592 reaches master07:05:53
@samasaur:matrix.orgsamasauryeah the patch way was overkill07:05:53
@samasaur:matrix.orgsamasauri had found something similar upstream when i was trying to solve the issue and i got in my own head about it07:06:14
@samasaur:matrix.orgsamasaurthis also has the benefit of being a) the right solution; b) essentially exactly the same thing as the CMake setup hook PR that went to stagign07:06:46
@samasaur:matrix.orgsamasaur* this also has the benefit of being a) the right solution; b) essentially exactly the same thing as the CMake setup hook PR that went to staging07:06:47
@samasaur:matrix.orgsamasaurhuh okay apparently if you force-push to a closed PR on github you can no longer reopen it07:07:41
@prince213:matrix.orgprince213Time to start a new one I guess07:08:10
@samasaur:matrix.orgsamasauri guess so07:08:15
@samasaur:matrix.orgsamasaurwait a second, maybe if i force-push back to what it was i can reopen it and then force-push again07:08:29
@prince213:matrix.orgprince213Ah try it07:08:39
@prince213:matrix.orgprince213Maybe you can only reopen if its HEAD is at the original place07:08:57
@samasaur:matrix.orgsamasauryeah that's my theory07:09:10
@samasaur:matrix.orgsamasaurwe'll see07:09:11
@samasaur:matrix.orgsamasauryou can!07:10:37
@samasaur:matrix.orgsamasaurwild07:10:43
@prince213:matrix.orgprince213Nice to know07:10:54
@prince213:matrix.orgprince213Technically it's "to fix Hydra builds" so it should go to staging-next07:13:16
@prince213:matrix.orgprince213But I'm not sure07:13:18
@samasaur:matrix.orgsamasauri can retarget07:13:35
@samasaur:matrix.orgsamasaurokay done07:18:21
@samasaur:matrix.orgsamasaurk i'm going to sleep. if the decision is that we should merge this into staging-next as a stopgap, i think that PR is good to go. if the decision is to target master, I can retarget again in the morning. if the decision is to wait for a staging cycle, then we have nothing left to do :)07:21:06
@prince213:matrix.orgprince213Nice work! See you in another day07:26:02
@esperlily:matrix.orgEsperLily [she/her] emily: i managed to get MacVim to build with the nixpkgs SDK. I didn't even have to do anything to get ibtool to work, i guess Xcode just automatically handled the fact that it wasn't in the SDK. thanks for suggesting this! https://github.com/NixOS/nixpkgs/pull/455760 09:01:31

Show newer messages


Back to Room ListRoom Version: 6