Use -DMultiMC_LAYOUT=lin-system to install shared object files to $out/lib and the jars required at runtime to $out/share/multimc.
Use -DMultiMC_LAYOUT=lin-system to install shared object files to $out/lib and the jars required at runtime to $out/share/multimc.