The build time syntax check is impure, it checks if the User/Group options refer to valid users/groups. This fails when building on a different machine than the one that Apache will run on (or when the accounts haven’t been created yet):

=== Checking the generated Apache configuration file ===

httpd: bad user name wwwrun
builder for /nix/store/nngapj7153c3nhc4p8ibb794sh0i2nls-upstart-httpd.drv' failed; keeping build directory/tmp/nix-15449-0’

Submitted on 29 February 2008 at 10:44

Log in to post comments