fix missing asset images

jsbundle derivation needs to have images available because it stat's
them to verify they exist. They are actually included by Gradle.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-04-06 17:30:41 +02:00
parent 9df455088e
commit 5ddd605328
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 4 additions and 4 deletions

View File

@ -30,11 +30,11 @@ in stdenv.mkDerivation {
"status-modules/resources/.*" "status-modules/resources/.*"
"build.clj" "externs.js" "build.clj" "externs.js"
"project.clj" "prepare-modules.js" "project.clj" "prepare-modules.js"
"resources/js/.*" # lein jsbundle stat's images to check if they exist
"resources/config/.*" "resources/.*"
]; ];
exclude = [ exclude = [
"resources/images/.*" "resources/fonts/.*"
]; ];
root = path; root = path;
}; };

View File

@ -46,7 +46,7 @@ in stdenv.mkDerivation {
mkFilter { mkFilter {
root = path; root = path;
include = [ include = [
"mobile/js_files.*" "resources.*" "mobile/js_files.*" "resources/.*"
"modules/react-native-status/android.*" "modules/react-native-status/android.*"
envFileName "VERSION" ".watchmanconfig" envFileName "VERSION" ".watchmanconfig"
"status-go-version.json" "react-native.config.js" "status-go-version.json" "react-native.config.js"