mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
Run riak with its dataDir
as HOME
so Erlang cookie can be written
See https://github.com/NixOS/nixpkgs/issues/18852
This commit is contained in:
parent
cf6815275a
commit
6d3b06ce37
@ -108,6 +108,7 @@ in
|
||||
pkgs.bash
|
||||
];
|
||||
|
||||
environment.HOME = "${cfg.dataDir}";
|
||||
environment.RIAK_DATA_DIR = "${cfg.dataDir}";
|
||||
environment.RIAK_LOG_DIR = "${cfg.logDir}";
|
||||
environment.RIAK_ETC_DIR = "/etc/riak";
|
||||
|
Loading…
Reference in New Issue
Block a user