sane: Make SANE_CONFIG_DIR overrideable

This commit is contained in:
Rickard Nilsson 2014-05-30 10:17:08 +02:00
parent 1905e054c1
commit 5bf076d99b

View File

@ -43,7 +43,7 @@ in
environment.systemPackages = backends;
environment.variables = {
SANE_CONFIG_DIR = "${saneConfig}/etc/sane.d";
SANE_CONFIG_DIR = mkDefault "${saneConfig}/etc/sane.d";
LD_LIBRARY_PATH = [ "${saneConfig}/lib/sane" ];
};
services.udev.packages = backends;