mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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 New Issue
Block a user