inginious: fix options eval

This commit is contained in:
Graham Christensen 2017-11-23 09:33:59 -05:00
parent f09f49d483
commit 2bbdd70b99
No known key found for this signature in database
GPG Key ID: ACA1C1D120C83D5C

View File

@ -113,7 +113,6 @@ in
tasksDirectory = mkOption {
type = types.path;
default = "${inginious}/lib/python2.7/site-packages/inginious/tasks";
example = "/var/lib/INGInious/tasks";
description = ''
Path to the tasks folder.
@ -218,6 +217,7 @@ in
# Common
{
services.lighttpd.inginious.tasksDirectory = mkDefault "${inginious}/lib/python2.7/site-packages/inginious/tasks";
# To access inginous tools (like inginious-test-task)
environment.systemPackages = [ inginious ];