sane: environment.variables -> environment.sessionVariables

See 13befa3979 for details
This commit is contained in:
Cillian de Róiste 2014-06-22 14:38:45 +02:00
parent 9883b5806a
commit 74cd7cb3c8

View File

@ -42,7 +42,7 @@ in
config = mkIf config.hardware.sane.enable {
environment.systemPackages = backends;
environment.variables = {
environment.sessionVariables = {
SANE_CONFIG_DIR = mkDefault "${saneConfig}/etc/sane.d";
LD_LIBRARY_PATH = [ "${saneConfig}/lib/sane" ];
};