mirror of
https://github.com/status-im/status-react.git
synced 2025-02-04 15:16:25 +00:00
nix: Fix generate-maven-and-npm-deps-shell
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
93b8fa01ed
commit
a74089f857
@ -13,7 +13,7 @@ let
|
||||
|
||||
# TARGETS
|
||||
release = callPackage ./targets/release-android.nix { inherit target-os gradle mavenAndNpmDeps mkFilter nodejs jsbundle status-go zlib; androidEnvShellHook = androidEnv.shellHook; };
|
||||
generate-maven-and-npm-deps-shell = callPackage ./maven-and-npm-deps/maven/shell.nix { inherit gradle maven projectNodePackage status-go; androidEnvShellHook = androidEnv.shellHook; };
|
||||
generate-maven-and-npm-deps-shell = callPackage ./maven-and-npm-deps/maven/shell.nix { inherit mkShell gradle maven projectNodePackage status-go; androidEnvShellHook = androidEnv.shellHook; };
|
||||
adb-shell = mkShell {
|
||||
buildInputs = [ androidEnv.licensedAndroidEnv ];
|
||||
inherit (androidEnv) shellHook;
|
||||
|
@ -12,9 +12,7 @@ mkShell {
|
||||
shellHook =
|
||||
androidEnvShellHook +
|
||||
status-go.shellHook + ''
|
||||
rm -rf ./node_modules
|
||||
|
||||
cp -a ${projectNodePackage}/node_modules/. ./node_modules/
|
||||
$STATUS_REACT_HOME/nix/mobile/reset-node_modules.sh "${projectNodePackage}"
|
||||
chmod -R u+w ./node_modules/
|
||||
'';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user