Skip to content

Make justfile commands available in the Nix development shell - #5890

Merged
stefanhaller merged 1 commit into
jesseduffield:masterfrom
TyceHerrman:agent/include-just-nix-shell
Aug 4, 2026
Merged

Make justfile commands available in the Nix development shell#5890
stefanhaller merged 1 commit into
jesseduffield:masterfrom
TyceHerrman:agent/include-just-nix-shell

Conversation

@TyceHerrman

@TyceHerrman TyceHerrman commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Description

Add just to the default Nix development shell so contributors can use the repository's justfile without installing just separately. Keep GNU Make available as the existing fallback.

no flake.lock update required. just comes from the already-pinned nixpkgs input, and no flake input changes.

Closes #5881.

Testing

  • nix-instantiate --parse flake.nix
  • nix flake check
  • nix develop --ignore-environment -c just --version
  • nix develop --ignore-environment -c go version
  • nix develop --ignore-environment -c just format
  • nix develop --ignore-environment -c just build
  • nix develop --ignore-environment -c just lint
  • nix develop --ignore-environment -c just unit-test
  • nix-shell --run 'just --version'

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide) — no test-code change needed; validated with the commands above
  • Text is internationalised (see here) — no user-facing strings changed
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here) — no UserConfig entry added
  • Docs have been updated if necessary — no documentation change needed
  • You've read through your own file changes for silly mistakes etc

@stefanhaller
stefanhaller force-pushed the agent/include-just-nix-shell branch from e35f5be to 1edd432 Compare August 4, 2026 05:10
@stefanhaller stefanhaller added the maintenance For refactorings, CI changes, tests, version bumping, etc label Aug 4, 2026
@stefanhaller
stefanhaller enabled auto-merge August 4, 2026 05:48
@stefanhaller

Copy link
Copy Markdown
Collaborator

Thanks; please never merge master into a branch, always rebase onto master instead. I did this for you this time. Merging.

@stefanhaller
stefanhaller merged commit cca82cf into jesseduffield:master Aug 4, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance For refactorings, CI changes, tests, version bumping, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include just in the Nix development shell

2 participants