modrinth-app-unwrapped: Adjust broken tag to only apply to Linux on aarch64
Update pkgs/by-name/mo/modrinth-app-unwrapped/package.nix Co-authored-by: seth <getchoo@tuta.io> Update pkgs/by-name/mo/modrinth-app-unwrapped/package.nix Co-authored-by: seth <getchoo@tuta.io>
This commit is contained in:
committed by
aleksana
co-authored by
seth
parent
96aeac498d
commit
3ebad8b9cd
@@ -74,6 +74,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
postInstall =
|
||||
lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p "$out"/bin
|
||||
mv "$out"/Applications/Modrinth\ App.app/Contents/MacOS/Modrinth\ App "$out"/bin/modrinth-app
|
||||
ln -s "$out"/bin/modrinth-app "$out"/Applications/Modrinth\ App.app/Contents/MacOS/Modrinth\ App
|
||||
''
|
||||
@@ -101,7 +102,9 @@ rustPlatform.buildRustPackage rec {
|
||||
maintainers = with lib.maintainers; [ getchoo ];
|
||||
mainProgram = "modrinth-app";
|
||||
platforms = with lib; platforms.linux ++ platforms.darwin;
|
||||
# this builds on architectures like aarch64, but the launcher itself does not support them yet
|
||||
broken = !stdenv.hostPlatform.isx86_64;
|
||||
# This builds on architectures like aarch64, but the launcher itself does not support them yet.
|
||||
# Darwin is the only exception
|
||||
# See https://github.com/modrinth/code/issues/776#issuecomment-1742495678
|
||||
broken = !stdenv.hostPlatform.isx86_64 && !stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user