From 4d37e390e1c21abe7612a65fcc29e582eeed2d88 Mon Sep 17 00:00:00 2001 From: Sam <30577766+Samasaur1@users.noreply.github.com> Date: Sun, 15 Mar 2026 21:20:56 -0700 Subject: [PATCH] openscad: don't use versionCheckHook on darwin Unsure why, but this produces no output when running inside a Nix build, even though the produced binary works fine, and replicating the same command that versionCheckHook uses outside the build works fine. --- pkgs/by-name/op/openscad/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/op/openscad/package.nix b/pkgs/by-name/op/openscad/package.nix index 324baf21b85e..ede0cdbd0c8c 100644 --- a/pkgs/by-name/op/openscad/package.nix +++ b/pkgs/by-name/op/openscad/package.nix @@ -120,8 +120,9 @@ stdenv.mkDerivation (finalAttrs: { libsForQt5.qmake libsForQt5.wrapQtAppsHook wrapGAppsHook3 - versionCheckHook - ]; + ] + # versionCheckHook doesn't detect any output on darwin, even though the binary works. + ++ lib.optional (!stdenv.hostPlatform.isDarwin) versionCheckHook; buildInputs = [ eigen