From 74cd7cb3c8233436d79554f4ddb7dbbe554fa36c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Sun, 22 Jun 2014 14:38:45 +0200 Subject: [PATCH] sane: environment.variables -> environment.sessionVariables See 13befa3979d6ac98a96880fba9a3239bc333e644 for details --- nixos/modules/services/hardware/sane.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/hardware/sane.nix b/nixos/modules/services/hardware/sane.nix index f7b25c18787..bbb59312753 100644 --- a/nixos/modules/services/hardware/sane.nix +++ b/nixos/modules/services/hardware/sane.nix @@ -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" ]; };