Skip to content

nix: simpler shell setup + devshell docs#36

Merged
jagrat7 merged 1 commit intomainfrom
nix/direnv
Mar 23, 2026
Merged

nix: simpler shell setup + devshell docs#36
jagrat7 merged 1 commit intomainfrom
nix/direnv

Conversation

@RainAfterDark
Copy link
Copy Markdown
Collaborator

I swear this has to be the final change for the devshell!

The user shell part the hook I previously wrote was just unnecessary and caused more issues than it should have. I found direnv to be a better solution than whatever I came up with that makes setup even better with one less command (no need for nix develop, just cd to the project after it's been allowed). It's also not a strict prerequisite, anyone on Nix can still just use the nix develop normally.

I've also went ahead and tidied up the Nix documentation for contributing, separating it to its own section, with an added a note for the graphics drivers problem for non-NixOS systems. I'll probably investigate that next and see if there's something that could be done about it.

@jagrat7 jagrat7 self-requested a review March 23, 2026 17:09
Copy link
Copy Markdown
Owner

@jagrat7 jagrat7 left a comment

Choose a reason for hiding this comment

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

👍

@jagrat7 jagrat7 merged commit 2e71260 into main Mar 23, 2026
@jagrat7 jagrat7 deleted the nix/direnv branch March 26, 2026 00:38
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