1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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" ];
};