Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

way to remove source hut dependency #4966

Closed
benaryorg opened this issue Jan 28, 2024 · 2 comments
Closed

way to remove source hut dependency #4966

benaryorg opened this issue Jan 28, 2024 · 2 comments
Assignees

Comments

@benaryorg
Copy link

benaryorg commented Jan 28, 2024

Related

Description

I have not found a feature for this in the documentation or elsewhere.
The problematic lines in the source code are hard-coding source hut and since they're in a lot statement and they're not using the flake ways (either indirect or via an explicit input) I cannot override this any way.

The issue has surfaced multiple times and at least in some instances people have asked for a way to be able to self-host/mirror this.

I am currently unable to use home-manager even in a flake setting at all because source hut does not support IPv6 and the majority of my infrastructure is IPv6 only (no IPv4, not even with NAT, it's just not worth it). The way that home-manager handles this makes it impossible to use home-manager because it directly depends on the tarball from that specific source with no way to override.

All preceding issues, plenty at that, have been closed as the temporary failures have been dealt with, however the underlying problem persists.

At least in the flake version it should be possible to override this as a flake can declare inputs which can easily be redirected by the user.

@benaryorg
Copy link
Author

A workaround for the import is to disable the entire documentation build, something along the lines of benaryorg/infra@e0eb936:

https://github.com/benaryorg/infra/blob/e0eb9365f2278a8da86198c584f7d76969a72c45/spec/home-manager.nix#L71-L75

However that's not much of a solution considering it removes the entire documentation build.

@rycee
Copy link
Member

rycee commented Feb 1, 2024

Thanks for the report! This should be resolved with the merge of #4986. It moves the necessary files from nmd into the HM repo. So there should be no download necessary (beyond downloading HM itself). I'll close this issue, if you think there still some problem remaining then let me know and we can reopen.

@rycee rycee closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants