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

Missing config.lib option #436

Open
brckd opened this issue Jan 17, 2025 · 0 comments
Open

Missing config.lib option #436

brckd opened this issue Jan 17, 2025 · 0 comments

Comments

@brckd
Copy link

brckd commented Jan 17, 2025

Other module systems such as NixOS and Home Manager declare options.lib with type with lib.types; attrsOf attrs. Nix-on-droid should add this for compatibility with system-agnostic Nix modules.

The current workaround is to add the option manually.

{ lib, ... }:

{
  options.lib = lib.mkOption {
    type = with lib.types; attrsOf attrs;
  };
}
brckd added a commit to brckd/stylix that referenced this issue Jan 17, 2025
Adds support for the nix-on-droid platform. Exposes the
nixOnDroidModules.stylix module. Uses a temporary workaround for
nix-community/nix-on-droid#436.
brckd added a commit to brckd/stylix that referenced this issue Jan 18, 2025
Adds support for the nix-on-droid platform. Exposes the
nixOnDroidModules.stylix module. Uses a temporary workaround for
nix-community/nix-on-droid#436.
brckd added a commit to brckd/stylix that referenced this issue Jan 18, 2025
Adds support for the nix-on-droid platform. Exposes the
nixOnDroidModules.stylix module. Uses a temporary workaround for
nix-community/nix-on-droid#436.
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

1 participant