forked from mirrors/nixpkgs
sane: Make SANE_CONFIG_DIR overrideable
This commit is contained in:
parent
1905e054c1
commit
5bf076d99b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue