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:
parent
9883b5806a
commit
74cd7cb3c8
|
@ -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" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue