nix shell w/ npins by phanirithvij · Pull Request #772 · processing/processing-android · GitHub
Skip to content

nix shell w/ npins - #772

Open
phanirithvij wants to merge 4 commits into
processing:mainfrom
phanirithvij:nix-shell
Open

nix shell w/ npins#772
phanirithvij wants to merge 4 commits into
processing:mainfrom
phanirithvij:nix-shell

Conversation

@phanirithvij

@phanirithvij phanirithvij commented Sep 22, 2024

Copy link
Copy Markdown

Add a nix shell script for ease of building.

A simple export NIXPKGS_ALLOW_UNFREE=1; nix-shell and cd processing; ./gradlew dist with only nix as the dependency.

A few minor bugs need to be fixed before testing this pr. ie. depends on #771 (the nonexistent vr/libs dir)

The npins/* is a helper script for nix, generated it via nix-shell -p npins --run "npins init", it can be ignored in review.

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
@SableRaf

SableRaf commented Oct 24, 2024

Copy link
Copy Markdown

@phanirithvij

Copy link
Copy Markdown
Author

On Windows it isn't possible yet (WSL works) but macos and Linux are covered by nix.

@SableRaf

Copy link
Copy Markdown

previously I had to use buildfhsuserenv and also glibc for some reason,
that I forget

Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants