From c01e7bc505672c206577039f0ccee1d0017a577a Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 10 Nov 2022 16:40:57 -0500
Subject: [PATCH] it's hard to use the build output apk like that because it's
 not checked in

so use the apk derivation directly!  yea!
---
 flake.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flake.nix b/flake.nix
index 7e5263b..1900ac4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -114,7 +114,7 @@
             platformVersion = "31";
             abiVersion = "x86_64";
             systemImageType = "default";
-            app = ./app/app/build/outputs/apk/debug/app-debug.apk;
+            app = self.packages.${system}.apk;
             package = "MyApp";
             activity = "MainActivity";
           };
-- 
GitLab