We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9899c2 commit 85ed032Copy full SHA for 85ed032
react-native/flake.nix
@@ -34,8 +34,8 @@
34
createEmulator = pkgs:
35
let
36
inherit (pkgs.stdenv) isAarch64;
37
- arch = if isAarch64 then "arm64-v8a" else "x86-64";
38
- cpuArch = if isAarch64 then "arm64" else "x86-64";
+ arch = if isAarch64 then "arm64-v8a" else "x86_64";
+ cpuArch = if isAarch64 then "arm64" else "x86_64";
39
in
40
rec
41
{
scripts.nix
@@ -16,6 +16,7 @@
16
for dir in `ls -d */`; do
17
(
18
${nix}/bin/nix develop $dir # Make sure this work after update
19
+ [[ "$dir" == "react-native/" ]] && ${nix}/bin/nix develop $dir -c create-emulator
20
sleep 0.2
21
)
22
done
0 commit comments