Skip to content

PathInputScheme::getFingerprint(): Don't barf on relative paths#10176

Merged
edolstra merged 1 commit intomasterfrom
relative-path-fingerprint
Mar 7, 2024
Merged

PathInputScheme::getFingerprint(): Don't barf on relative paths#10176
edolstra merged 1 commit intomasterfrom
relative-path-fingerprint

Conversation

@edolstra
Copy link
Member

@edolstra edolstra commented Mar 7, 2024

Motivation

This wasn't caught by CI because #10149 and #10152 pass individually... It doesn't happen on lazy-trees either because we never try to fetch relative path flakes (#10089).

Context

Priorities and Process

Add 👍 to pull requests you find important.

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

This wasn't caught by CI because #10149 and #10152 pass
individually... It doesn't happen on lazy-trees either because we
never try to fetch relative path flakes (#10089).
@edolstra edolstra enabled auto-merge March 7, 2024 12:31
@github-actions github-actions bot added the fetching Networking with the outside (non-Nix) world, input locking label Mar 7, 2024
@thufschmitt thufschmitt disabled auto-merge March 7, 2024 12:32
@edolstra edolstra enabled auto-merge March 7, 2024 12:33
@edolstra edolstra disabled auto-merge March 7, 2024 13:23
@edolstra edolstra merged commit fb37e18 into master Mar 7, 2024
@edolstra edolstra deleted the relative-path-fingerprint branch March 7, 2024 13:23
kognise added a commit to kognise/nix that referenced this pull request Jul 11, 2024
- Fix eval cache not being persisted in `nix develop` (since NixOS#10570)
- Fallback to flake path so the eval cache isn't disabled for flakes evaluated by a relative `path:` (since NixOS#10149, NixOS#10176)
- Don't attempt to commit cache transaction if there is no active transaction, which will spew errors in edge cases
- Drive-by: trivial typo fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants