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

No doublequotes around attribute name #1065

Closed
danbst opened this issue Sep 19, 2016 · 1 comment
Closed

No doublequotes around attribute name #1065

danbst opened this issue Sep 19, 2016 · 1 comment

Comments

@danbst
Copy link
Contributor

danbst commented Sep 19, 2016

I've got this error when trying to configure nginx module.

building all machine configurations...
error: The option `services.nginx.virtualHosts.content.defenders.com./' defined in `/home/deployer/testing/fleet/test.nix' does not exist.
(use ‘--show-trace’ to show detailed location information)

I think, this warning should include double-quotes around content.defenders.com, because it is defined as

    services.nginx.virtualHosts."content.defenders.com" = { ... };

And around / too

@vcunat
Copy link
Member

vcunat commented Sep 19, 2016

The problem lies in <nixpkgs/lib/options.nix> and thus belongs into a different repo (best tag it nixos). There's simply

let
  showOption = concatStringsSep ".";

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

2 participants