diff options
Diffstat (limited to 'pkgs/applications/graphics/f3d/default.nix')
-rw-r--r-- | pkgs/applications/graphics/f3d/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/f3d/default.nix b/pkgs/applications/graphics/f3d/default.nix index 5daaf0e10ef1..c654e78a9b45 100644 --- a/pkgs/applications/graphics/f3d/default.nix +++ b/pkgs/applications/graphics/f3d/default.nix @@ -15,7 +15,7 @@ , opencascade-occt , assimp , fontconfig -, withManual ? !stdenv.isDarwin +, withManual ? !stdenv.hostPlatform.isDarwin , withPythonBinding ? false }: @@ -48,7 +48,7 @@ stdenv.mkDerivation rec { opencascade-occt assimp fontconfig - ] ++ lib.optionals stdenv.isDarwin [ + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa OpenGL ] ++ lib.optionals withPythonBinding [ @@ -80,5 +80,8 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ bcdarwin pbsds ]; platforms = with platforms; unix; mainProgram = "f3d"; + # error: use of undeclared identifier 'NSMenuItem' + # adding AppKit does not solve it + broken = with stdenv.hostPlatform; isDarwin && isx86_64; }; } |