Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Fix gomod2nix deps; housekeeping #8

Merged
merged 6 commits into from
Jun 24, 2023
Merged

Conversation

sbatial
Copy link
Contributor

@sbatial sbatial commented Jun 24, 2023

The dependencies gomod2nix tried to use deviated from the actual ones after the switch to cobra.
This PR updates the gomod2nix.toml.

I also went ahead and added some metadata to the package.
It should now be possible to be run with nix run (when in the repo) or nix run github:hyprland-community/Hyprkeys.

sbatial added 6 commits June 24, 2023 15:06
It failed with "cannot query module due to -mod=vendor" while/after looking for cobra
Some trial and error revealed it was just a problem with the gomod2nix being outdated
nix run takes the name of the derivation by default
As the binary is called hyprkeys, not Hyprkeys it was necessary to use 'nix shell .# -c hyprkeys'
@sbatial
Copy link
Contributor Author

sbatial commented Jun 24, 2023

I was not sure which platforms are actually supported but maybe they can also be added to the metadata (as well as the maintainer(s?))

@NotAShelf
Copy link
Member

I must admit I haven't given the nix builds the love they deserve, was meaning to rewrite the flake with flake-parts but seeing how much I lack free time I'll go ahead and merge this for now.

Thanks!

@sbatial sbatial temporarily deployed to production June 24, 2023 15:49 — with GitHub Actions Inactive
@NotAShelf NotAShelf merged commit 2822767 into hyprland-community:main Jun 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants