fix builds

This commit is contained in:
Morten Delenk 2022-08-24 09:24:08 +01:00
parent 559e1778af
commit ab407f2348
No known key found for this signature in database
GPG key ID: 5130416C797067B6

View file

@ -104,7 +104,7 @@
'';
installPhase = ''
mkdir $out
cp app/build/outputs/apk/debug/debug.apk $out/app.apk
cp app/build/outputs/apk/debug/app-debug.apk $out/app.apk
mkdir $out/nix-support
echo "file binary-dist $out/app.apk" > $out/nix-support/hydra-build-products
echo "$pname-$version" > $out/nix-support/hydra-release-name
@ -118,6 +118,7 @@
yarnLock = "${self}/map-desktop/yarn.lock";
buildPhase = "yarn run build";
installPhase = "cp -rv deps/map-desktop/dist $out";
distPhase = "true";
};
};