We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cee3f commit 3bf76a4Copy full SHA for 3bf76a4
1 file changed
pkgs/mc-rtc-magnum/standalone.nix
@@ -49,6 +49,14 @@ stdenv.mkDerivation {
49
--set WAYLAND_DISPLAY ""
50
'';
51
52
+ # FIXME upstream
53
+ postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
54
+ # Remove Magnum runtime plugins from being hard-linked at compile time on macOS
55
+ substituteInPlace src/CMakeLists.txt \
56
+ --replace "MagnumPlugins::AnyImageImporter" "" \
57
+ --replace "MagnumPlugins::AnySceneImporter" ""
58
+ '';
59
+
60
cmakeFlags = [
61
"-DMAGNUM_WITH_PLUGINS_LIBDIR=${magnum-with-plugins}/lib/magnum/importers"
62
];
0 commit comments