Skip to content

Comments

Add nix development environment#23

Merged
cyteon merged 2 commits intocyteon:mainfrom
naomieow:nix-shell
Sep 25, 2025
Merged

Add nix development environment#23
cyteon merged 2 commits intocyteon:mainfrom
naomieow:nix-shell

Conversation

@naomieow
Copy link
Contributor

Add support for a nix development environment that works with or without the use of flakes. This will make it easier for people who use nix (such as myself) to contribute to the project.

This PR also adds files used by/generated by the direnv project as this is quite often used in conjunction with nix development environments.

Signed-off-by: Naomi Roberts <[email protected]>
Signed-off-by: Naomi Roberts <[email protected]>
@cyteon cyteon requested a review from Copilot September 25, 2025 16:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds Nix development environment support to make it easier for Nix users to contribute to the project. It provides both traditional Nix shell and modern Nix flakes support.

  • Adds shell.nix for traditional Nix users with Gleam development dependencies
  • Adds flake.nix for modern Nix flakes users with cross-platform support
  • Enables direnv integration for automatic environment loading

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
shell.nix Defines Nix shell environment with Gleam, Erlang 28, and rebar3 dependencies
flake.nix Provides flakes-compatible wrapper with multi-platform support for the shell environment

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cyteon
Copy link
Owner

cyteon commented Sep 25, 2025

lgtm, and cant rly test cause i dont use nix soooo

@cyteon cyteon merged commit 02b85b9 into cyteon:main Sep 25, 2025
1 of 2 checks passed
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