Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Nix environment #1335

Merged
merged 18 commits into from
Feb 28, 2024
Merged

Support Nix environment #1335

merged 18 commits into from
Feb 28, 2024

Conversation

r-burns
Copy link
Collaborator

@r-burns r-burns commented Feb 27, 2024

Build main.dol in the nix sandbox using nix-build.

Enter development environment using nix-shell. Unlike the makefile build, the configure.py script doesn't pick up environment variables, so you have to manually specify some locations when configuring. You can cat $configurePhase to see what you need to specify.

@r-burns r-burns marked this pull request as draft February 27, 2024 03:39
ribbanya

This comment was marked as resolved.

Copy link
Collaborator

@ribbanya ribbanya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #1335 (review) and let me know what you think. I'll handle refactoring the Python scripts if you can refactor the Nix scripts. The main thing would be implementing a nix function to invoke download_tool.py.

@ribbanya ribbanya marked this pull request as ready for review February 28, 2024 02:37
@r-burns r-burns enabled auto-merge (squash) February 28, 2024 02:40
@ribbanya ribbanya changed the title Nix demonstration Support Nix environment Feb 28, 2024
@ribbanya ribbanya disabled auto-merge February 28, 2024 02:44
@ribbanya ribbanya merged commit 09d26b4 into doldecomp:master Feb 28, 2024
9 checks passed
@r-burns r-burns deleted the nix-files branch February 28, 2024 02:47
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