From 4036712e030749d42b317f2714dc8c1fc44db3bf Mon Sep 17 00:00:00 2001 From: Sam Lehman Date: Tue, 2 Apr 2024 11:29:06 -0400 Subject: [PATCH] refactor: rename activitywatch-android -> androidapp-activitywatch New naming makes more apparent that package is an Android APK, not normal binary. Other Android apps will follow this convention. Also restricted to platforms.linux because Android SDK not available for `aarch64-darwin` --- ...vitywatch-android.nix => androidapp-activitywatch.nix} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename nix/android/packages/{activitywatch-android.nix => androidapp-activitywatch.nix} (80%) diff --git a/nix/android/packages/activitywatch-android.nix b/nix/android/packages/androidapp-activitywatch.nix similarity index 80% rename from nix/android/packages/activitywatch-android.nix rename to nix/android/packages/androidapp-activitywatch.nix index c29c4618..e62be999 100644 --- a/nix/android/packages/activitywatch-android.nix +++ b/nix/android/packages/androidapp-activitywatch.nix @@ -7,8 +7,8 @@ fetchFromGitHub, }: androidenv.buildApp rec { - name = "activitywatch-android"; - pname = "activitywatch-android"; + name = "androidapp-activitywatch"; + pname = "androidapp-activitywatch"; version = "0.12.1"; #release = true; @@ -34,6 +34,8 @@ androidenv.buildApp rec { license = licenses.mpl20; maintainers = with maintainers; []; mainProgram = "aw-android"; - platforms = platforms.all; + #platforms = lists.remove "aarch64-darwin" platforms.unix; + #badPlatforms = ["aarch64-darwin"]; + platforms = platforms.linux; }; }