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

mkEnableOption expects string instead of bool #30

Closed
hugosenari opened this issue Apr 2, 2022 · 1 comment
Closed

mkEnableOption expects string instead of bool #30

hugosenari opened this issue Apr 2, 2022 · 1 comment
Labels

Comments

@hugosenari
Copy link

What did you expect to happen?

Configuration could return description when try to document it.

What actually happened?

An exception raised:

error: cannot coerce a Boolean to a string
           99|     description = "Whether to enable ${name}.";

Describe your attempts to resolve the issue

I omitted skype module from my documentation attempts

# "modules/desktop/apps/skype.nix"

Steps to reproduce

  1. clone friendly-modules
  2. uncomment line with # "modules/desktop/apps/skype.nix" of hlissner.nix
  3. run nix develop --build

Package commit

fb0593a

System Information

I use NixOS unstable, and I document random modules instead of eat my dog when a have no homework

@hugosenari hugosenari added the bug label Apr 2, 2022
@hugosenari hugosenari changed the title mkEnableOption expects description instead of bool mkEnableOption expects string instead of bool Apr 2, 2022
@hlissner
Copy link
Owner

Ah, good catch. I haven't used Skype in so long this went right under my radar. It should've been mkBoolOpt instead. Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants