Skip to content

tests/functional: fix nix-shell fixed-output derivation test#15098

Merged
Ericson2314 merged 1 commit into
NixOS:masterfrom
amaanq:fix-nix-shell-test
Jan 27, 2026
Merged

tests/functional: fix nix-shell fixed-output derivation test#15098
Ericson2314 merged 1 commit into
NixOS:masterfrom
amaanq:fix-nix-shell-test

Conversation

@amaanq
Copy link
Copy Markdown
Member

@amaanq amaanq commented Jan 27, 2026

The test was checking for $stdenv but the fixed derivation doesn't actually have stdenv, it just has FOO. I've updated it to check the value of FOO instead.


Add 👍 to pull requests you find important.

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

The test was checking for `$stdenv` but the `fixed` derivation doesn't
actually have stdenv, it just has `FOO`. I've updated it to check the
value of `FOO` instead.
@amaanq amaanq requested a review from edolstra as a code owner January 27, 2026 15:39
@github-actions github-actions Bot added the with-tests Issues related to testing. PRs with tests have some priority label Jan 27, 2026
Copy link
Copy Markdown
Member

@Ericson2314 Ericson2314 left a comment

Choose a reason for hiding this comment

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

This looks good to me. Just waiting for confirm that the NixOS test running the functional tests does in fact build now.

@amaanq
Copy link
Copy Markdown
Member Author

amaanq commented Jan 27, 2026

Yep, running the NixOS functional tests passed (via nix build .#hydraJobs.tests.functional_user -L)

@Ericson2314 Ericson2314 added this pull request to the merge queue Jan 27, 2026
Merged via the queue into NixOS:master with commit c7f1036 Jan 27, 2026
14 checks passed
@amaanq amaanq deleted the fix-nix-shell-test branch January 28, 2026 03:50
brittonr pushed a commit to brittonr/nix that referenced this pull request Apr 1, 2026
tests/functional: fix nix-shell fixed-output derivation test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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