mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
* Install the worker in bindir, not libexecdir.
* Allow the worker path to be overriden through the NIX_WORKER environment variable.
This commit is contained in:
parent
9322b399f3
commit
1e16d20655
6 changed files with 11 additions and 2 deletions
|
@ -91,6 +91,7 @@ static void initAndRun(int argc, char * * argv)
|
|||
nixDBPath = getEnv("NIX_DB_DIR", nixStateDir + "/db");
|
||||
nixConfDir = canonPath(getEnv("NIX_CONF_DIR", NIX_CONF_DIR));
|
||||
nixLibexecDir = canonPath(getEnv("NIX_LIBEXEC_DIR", NIX_LIBEXEC_DIR));
|
||||
nixBinDir = canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR));
|
||||
|
||||
/* Get some settings from the configuration file. */
|
||||
thisSystem = querySetting("system", SYSTEM);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue