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

Integrate keymap-drawer into flake #9

Merged
merged 5 commits into from
Mar 26, 2024

Conversation

MattSturgeon
Copy link
Owner

@MattSturgeon MattSturgeon commented Mar 26, 2024

Refactor keymap-drawer so that is is part of the flake.

  • Build keymap-drawer using poetry2nix
  • Move CI logic/scripts to nix

While it'd be nice to build the SVGs as actual packages, keymap-drawer isn't really setup to be run in a "pure" environment... Instead, a devshell command can be used.

Running in a nix shell means we can easily add yq as a dependency instead of maintaining a custom python script to list keymap layers.

#8 was closed accidentally when renaming a branch...

@MattSturgeon MattSturgeon force-pushed the refactor/flake-keymap-drawer branch 2 times, most recently from c442ab6 to 1a8b676 Compare March 26, 2024 07:55
Allow running via `nix run .` in addition to `nix develop`.
@MattSturgeon MattSturgeon merged commit f1339b2 into main Mar 26, 2024
5 checks passed
@MattSturgeon MattSturgeon deleted the refactor/flake-keymap-drawer branch March 26, 2024 10:29
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