Skip to content

Fix sourcehut link resolve#3

Merged
rszyma merged 1 commit into
rszyma:all-patchesfrom
minhtrancccp:all-patches
Apr 6, 2026
Merged

Fix sourcehut link resolve#3
rszyma merged 1 commit into
rszyma:all-patchesfrom
minhtrancccp:all-patches

Conversation

@minhtrancccp
Copy link
Copy Markdown

the sourcehut url in flake is resolved in nix to a repository and not to a project.

and assuming people don't use sourcehut for their mecurial repos (given the unstable nature of hg hosting support on
sourcehut
), it would be safe to resolve such flake url to the git hosting site

the sourcehut url in flake is [resolved in nix to a
repository](https://nix.dev/manual/nix/2.34/command-ref/new-cli/nix3-flake#examples:~:text=SourceHut%20repositories)
and not to [a project](https://man.sr.ht/hub.sr.ht/).

and assuming people don't use sourcehut for their mecurial repos ([given
the unstable nature of hg hosting support on
sourcehut](https://man.sr.ht/hg.sr.ht/#:~:text=work%20in%20progress)),
it would be safe to resolve such flake url to [the git hosting
site](https://man.sr.ht/git.sr.ht/)
@rszyma
Copy link
Copy Markdown
Owner

rszyma commented Apr 6, 2026

Open a PR in oxalica/nil too, please!

@rszyma rszyma merged commit 106cd66 into rszyma:all-patches Apr 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants