status-mobile/nix/mobile/android/maven-and-npm-deps/maven/shell.nix

21 lines
388 B
Nix

{ mkShell, curl, git, gradle, maven,
projectNodePackage, androidEnvShellHook, status-go }:
mkShell {
buildInputs = [
curl
git
gradle
maven
projectNodePackage
];
shellHook =
androidEnvShellHook +
status-go.shellHook + ''
rm -rf ./node_modules
cp -a ${projectNodePackage}/node_modules/. ./node_modules/
chmod -R u+w ./node_modules/
'';
}