nix-community / nix-direnv

A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
MIT License
1.78k stars 101 forks source link

Fix local flakes when prefixed with "path:" (again) #478

Closed tie closed 6 months ago

tie commented 6 months ago

This change fixes regression introduced in commit 4bf5d40290981c867d70f6d3c0d505dd03bc2c0d. In particular, we should not be passing flake URI without schema to the nix flake archive command.

This fixes use flake path:devel#direnv in .envrc that previously errored at nix flake archive […] "direnv" step (that should have been path:devel).

Mic92 commented 6 months ago

@mergify queue

mergify[bot] commented 6 months ago

queue

🛑 The pull request has been removed from the queue default

The pull request cannot be checked because of an incompatibility with branch protections. You can take a look at `Queue: Embarked in merge queue` check runs for more details. In case of a failure due to a flaky test, you should first retrigger the CI. Then, re-embark the pull request into the merge queue by posting the comment `@mergifyio refresh` on the pull request.
Mic92 commented 6 months ago

@mergify rebase

mergify[bot] commented 6 months ago

rebase

✅ Branch has been successfully rebased