-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds aarch64-darwin to jameica #351309
adds aarch64-darwin to jameica #351309
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding aarch64-darwin
to the meta.platforms
isn't enough; you need to extend swtSystem
by adding a check for aarch64-darwin
so it can copy the native jar file instead of using the x86_darwin
, which requires Rosetta
This is what you will need to do:
diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix
index 32cbcf088c51..adb3d91c828b 100644
--- a/pkgs/applications/office/jameica/default.nix
+++ b/pkgs/applications/office/jameica/default.nix
@@ -24,6 +24,7 @@ let
else if stdenv.hostPlatform.system == "x86_64-linux" then "linux64"
else if stdenv.hostPlatform.system == "aarch64-linux" then "linux-arm64"
else if stdenv.hostPlatform.system == "x86_64-darwin" then "macos64"
+ else if stdenv.hostPlatform.system == "aarch64-darwin" then "macos-aarch64"
else throw "Unsupported system: ${stdenv.hostPlatform.system}";
desktopItem = makeDesktopItem {
@@ -101,7 +101,7 @@ stdenv.mkDerivation rec { | |||
binaryBytecode # source bundles dependencies as jars | |||
]; | |||
license = licenses.gpl2Plus; | |||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]; | |||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; | |
platforms = platforms.unix; |
Please rebase and reword your commit to follow Commit conventions In your case you can reword your commit to:
|
37da9a7
to
1e4bd18
Compare
@DontEatOreo thanks for taking the time! |
i was wondeering if i can also get .app from the dmg so it gets nicely linked into ~/Applications/Nix\ Home\ Manager |
Also change base branch to master and rebase. |
Update gems in order to fix vulnerable dependencies. The following CVEs are fixed: * CVE-2024-45614 * CVE-2024-39908 * CVE-2024-41123 * CVE-2024-41946 * CVE-2024-43398 * CVE-2024-49761 * CVE-2024-47220 The following CVEs remain since related gems have pinned versions in Redmine. * CVE-2024-34459 * CVE-2024-47888 * CVE-2024-47887 * CVE-2024-41128 * CVE-2024-47889 Signed-off-by: Felix Singer <felixsinger@posteo.net>
* python312Packages.insightface: enable package for aarch64-linux * python312Packages.insightface: disable passhtru tests for aarch64 * python312Packages.insightface: refactor
1e4bd18
to
3db5e3d
Compare
gonna retry on a different pr.. this went sideways fast. |
adds aarch64-darwin to jameica