Skip to content

Add Nix flake devshell with direnv#2

Merged
NovaMage merged 1 commit into
mainfrom
1-add-nix-flake-devshell
Apr 25, 2026
Merged

Add Nix flake devshell with direnv#2
NovaMage merged 1 commit into
mainfrom
1-add-nix-flake-devshell

Conversation

@NovaMage
Copy link
Copy Markdown
Member

Add flake.nix + .envrc for local dev with direnv/nix-direnv. Dual-arch (x86_64 + aarch64).

Closes #1

Closes #1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 24, 2026 11:52
Copy link
Copy Markdown

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

Adds a Nix flake-based development shell intended for use with direnv/nix-direnv, targeting Linux on x86_64 and aarch64.

Changes:

  • Added flake.nix defining a devShell with JDK 21 and sbt for x86_64-linux and aarch64-linux.
  • Added flake.lock to pin the nixos-unstable nixpkgs revision.
  • Updated .gitignore to ignore direnv-related files/directories.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
flake.nix Introduces a Nix flake dev shell providing JDK 21 + sbt for two Linux architectures.
flake.lock Pins nixpkgs input for reproducible flake evaluation.
.gitignore Ignores .envrc and .direnv/ artifacts.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NovaMage NovaMage merged commit 5105d32 into main Apr 25, 2026
5 checks passed
@NovaMage NovaMage deleted the 1-add-nix-flake-devshell branch May 3, 2026 14: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.

Add Nix flake devshell with direnv

2 participants