Skip to content

tests/functional/flakes: Add test case for subflake locking - #12699

Merged
roberth merged 1 commit into
NixOS:masterfrom
rvl:subflake-locking-test
Apr 9, 2025
Merged

roberth merged 1 commit into
NixOS:masterfrom
rvl:subflake-locking-test

Conversation

@rvl

@rvl rvl commented Mar 20, 2025

Copy link
Copy Markdown
Contributor

Motivation

This adds a test case where the lockfile of a relative path flake dependency is updated.

It was reported by a user here: https://discourse.nixos.org/t/updating-local-subflakes-inputs-when-building-root-flake/61682

Context

I think this test case relates to issue #7730.

Note

Because the issue is not resolved, this test case would fail without the || true clause.


Add 👍 to pull requests you find important.

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

This adds a test case where the lockfile of a relative path flake
dependency is updated.

It was reported by a user here: https://discourse.nixos.org/t/updating-local-subflakes-inputs-when-building-root-flake/61682

I think this test case relates to issue NixOS#7730.

Because the issue is not resolved, this test case would fail without
the `|| true` clause.
@rvl
rvl requested a review from edolstra as a code owner March 20, 2025 05:45
@github-actions github-actions Bot added the with-tests Issues related to testing. PRs with tests have some priority label Mar 20, 2025
@edolstra edolstra self-assigned this Mar 20, 2025
@roberth
roberth merged commit fc77a89 into NixOS:master Apr 9, 2025
@roberth roberth added backport 2.24-maintenance backport 2.28-maintenance Automatically creates a PR against the branch and removed backport 2.24-maintenance labels Apr 9, 2025
mergify Bot added a commit that referenced this pull request Apr 9, 2025
…2699

tests/functional/flakes: Add test case for subflake locking (backport #12699)
@Mic92

Mic92 commented Apr 9, 2025

Copy link
Copy Markdown
Member

@roberth do you also intend to fix the actual issue?

@Mic92 Mic92 added this to Nix team Apr 9, 2025
@Mic92 Mic92 moved this to ⚖ To discuss in Nix team Apr 9, 2025
@roberth

roberth commented Apr 9, 2025

Copy link
Copy Markdown
Member

I don't have time in the short term.

@xokdvium xokdvium removed this from Nix team Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.28-maintenance Automatically creates a PR against the branch 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.

4 participants