Merge pull request #177929 from veprbl/pr/geant4_darwin

geant4: enable on darwin

authored by Dmitry Kalinkin and committed by GitHub 0929936b f93385af

+5 -2
+5 -2
pkgs/development/libraries/physics/geant4/default.nix
··· 71 "-DGEANT4_USE_SYSTEM_EXPAT=${if expat != null then "ON" else "OFF"}" 72 "-DGEANT4_USE_SYSTEM_ZLIB=${if zlib != null then "ON" else "OFF"}" 73 "-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}" 74 ] ++ lib.optionals (enableMultiThreading && enablePython) [ 75 "-DGEANT4_BUILD_TLS_MODEL=global-dynamic" 76 ] ++ lib.optionals enableInventor [ ··· 128 ''; 129 homepage = "http://www.geant4.org"; 130 license = licenses.g4sl; 131 - maintainers = with maintainers; [ omnipotententity ]; 132 - platforms = platforms.linux; 133 }; 134 }
··· 71 "-DGEANT4_USE_SYSTEM_EXPAT=${if expat != null then "ON" else "OFF"}" 72 "-DGEANT4_USE_SYSTEM_ZLIB=${if zlib != null then "ON" else "OFF"}" 73 "-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}" 74 + ] ++ lib.optionals stdenv.isDarwin [ 75 + "-DXQuartzGL_INCLUDE_DIR=${libGL.dev}/include" 76 + "-DXQuartzGL_gl_LIBRARY=${libGL}/lib/libGL.dylib" 77 ] ++ lib.optionals (enableMultiThreading && enablePython) [ 78 "-DGEANT4_BUILD_TLS_MODEL=global-dynamic" 79 ] ++ lib.optionals enableInventor [ ··· 131 ''; 132 homepage = "http://www.geant4.org"; 133 license = licenses.g4sl; 134 + maintainers = with maintainers; [ omnipotententity veprbl ]; 135 + platforms = platforms.unix; 136 }; 137 }