[Nix-dev] How to test my service definition without actually "installing" it?

Luca Bruno lethalman88 at gmail.com
Thu May 14 11:28:24 CEST 2015


On 14/05/2015 11:18, Matthias Beyer wrote:
>
>
> How do you do that? My approach is nixos-rebuild build-vm as someone
> else (I guess it was Lethalman) suggested, but it fails with:
>
>     $ sudo nixos-rebuild build-vm -I .
>     building Nix...
>     building the system configuration...
>     error: The option `services.taskserver' defined in
`/nix/store/sz5aszzk5hn943pcw66iqy5jf21hrws4-nixos/services/taskwarrior.nix'
does not exist.
>     (use '--show-trace' to show detailed location information)
>
> unfortunately. Any pointers?
That's really about how you added the module and that -I option that is
suspiciously wrong.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150514/64d74bda/attachment.html 


More information about the nix-dev mailing list