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

homepage: generated URL ignores --from-url, creating weird hybrid results #56

Open
SuperSamus opened this issue Mar 27, 2023 · 1 comment

Comments

@SuperSamus
Copy link

So, I'm typing this command:

nix-template stdenv -n pkgs/games/ -p open-hexagon -u https://github.com/SuperV1234/SSVOpenHexagon

And I expect the homepage generated by nix-template to be https://github.com/SuperV1234/SSVOpenHexagon
Instead, it generates https://github.com/SuperV1234/open-hexagon, which doesn't exist.

I think the cause is this line:

homepage: "https://github.com/@owner@/@pname@".to_owned(),

@SuperSamus SuperSamus changed the title homepage: created URL ignores --from-url, creating weird hybrid results homepage: generated URL ignores --from-url, creating weird hybrid results Mar 27, 2023
@jonringer
Copy link
Owner

Yea, if -u is passed, I should just inherit that. Thanks, I'll look into this

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

No branches or pull requests

2 participants