Skip to content

Fix sourcehut link resolve#193

Open
minhtrancccp wants to merge 1 commit intooxalica:mainfrom
minhtrancccp:fix-sourcehut-link
Open

Fix sourcehut link resolve#193
minhtrancccp wants to merge 1 commit intooxalica:mainfrom
minhtrancccp:fix-sourcehut-link

Conversation

@minhtrancccp
Copy link
Copy Markdown

@minhtrancccp minhtrancccp commented Apr 6, 2026

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

see also rszyma#3

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/)
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.

1 participant