Unverified Commit 4d37e390 authored by Sam's avatar Sam
Browse files

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.
parent 0a9efc1b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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