Conversation
054d912 to
11ff325
Compare
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
11ff325 to
710db14
Compare
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
|
Hey @phanirithvij, thanks for your contribution! I gave your two PRs a try, but I ran into issues on macOS (M1), so I wasn't able to fully test it. I’m not really knowledgeable about Nix (or processing-android for that matter), but it looks like Nix could make it easier for new contributors to set up a consistent local environment? It’d be great if the nix setup could work across platforms like Windows, macOS (ARM), and Linux, even without expert knowledge of Nix. |
|
On Windows it isn't possible yet (WSL works) but macos and Linux are covered by nix. |
|
Thanks for the clarification, @phanirithvij! I tried running the Nix setup on macOS (ARM), but I ran into issues (log on pastebin) I tried to set Any guidance on how to adjust the Nix shell for macOS with Apple Silicon compatibility would be super helpful! It seems like this setup could be great for easing the environment setup for new contributors, but right now, I’m struggling to get it working on my M1 mac. Thanks again for your efforts! |
previously I had to use buildfhsuserenv and also glibc for some reason, that I forget Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Add a nix shell script for ease of building.
A simple
export NIXPKGS_ALLOW_UNFREE=1; nix-shellandcd processing; ./gradlew distwith onlynixas the dependency.A few minor bugs need to be fixed before testing this pr. ie. depends on #771 (the nonexistent
vr/libsdir)The
npins/*is a helper script for nix, generated it vianix-shell -p npins --run "npins init", it can be ignored in review.