[Nix-dev] lighttpd service

Eelco Dolstra eelco.dolstra at logicblox.com
Wed May 23 03:34:11 CEST 2012


Hi,

On 22/05/12 18:13, Alexander Foremny wrote:

> I am trying to write a service module for lighttpd. I came up with a
> minimal example [1] which is giving me the following error upon
> rebuilding my system.
> 
>> $ nixos-rebuild -I nixos=~/code/nixos build

Does "~" refer to the right user here?  If the path doesn't exist, it will be
silently ignored.

>> Option 'services.lighttpd' defined without option declaration.
> 
> I added the following line to <nixos>/modules/module-list.nix and my
> Nix expression given in [1] is located at
> <nixos>/services/web-servers/lighttpd/default.nix.

"environment.systemPackages" should be a list, and the "enable" option should
have a description.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list