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

Fix for passing snippets as zephyr extra modules, in nix build scripts #37

Open
wants to merge 1 commit into
base: zmk-update
Choose a base branch
from

Conversation

ScatteredRay
Copy link

Hi,

I was trying to add zmk-usb-logging to my build config that uses the workflows from the glove80-zmk-config repo. And I was running into problems, digging in, I wasn't able to figure out how to pass in a snippet using the snippets field which get's passed in as -DZMK_EXTRA_MODULES. Changing it to -DSNIPPET fixes my issue, and I'm now able to make a def like so:

  glove80_left = zmk.override {
    board = "glove80_lh";
    keymap = ./config/glove80.keymap;
    snippets = [
      "zmk-usb-logging"
    ];
  };

So, perhaps this is just an error that should be fixed?

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