Skip to content

Add tests for devShells and devShell flake outputs - #15516

Merged
edolstra merged 2 commits into
masterfrom
devshells-tests
Mar 23, 2026
Merged

edolstra merged 2 commits into
masterfrom
devshells-tests

Conversation

@edolstra

Copy link
Copy Markdown
Member

Motivation

Turns out we had no test coverage whatsoever for nix develop's devShells and (deprecated) devShell flake outputs.

It also turns out that nix develop crashed with an assertion failure if the derivation doesn't have an outputs attribute. Now it gives a better error.

Taken from DeterminateSystems#388.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@github-actions github-actions Bot added new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority labels Mar 18, 2026
@edolstra
edolstra added this pull request to the merge queue Mar 23, 2026
Merged via the queue into master with commit 9b8f2ef Mar 23, 2026
20 checks passed
@edolstra
edolstra deleted the devshells-tests branch March 23, 2026 19:26
@xokdvium xokdvium mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-cli Relating to the "nix" command with-tests Issues related to testing. PRs with tests have some priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants