Remove the NIX_GC_SOCKET_PATH environment variable

Not really needed since it's configurable from the config (and people
can always use `$NIX_CONFIG` if they really need to configure it from
the CLI)
This commit is contained in:
Théophane Hufschmitt 2023-06-26 08:58:40 +02:00
parent 21efcb7b61
commit bc445dc2b6
2 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public:
Setting<std::string> gcSocketPath {
this,
getEnv("NIX_GC_SOCKET_PATH").value_or("auto"),
"auto",
"gc-socket-path",
"Path to the socket used to communicate with an external GC."
};

View File

@ -1,5 +1,6 @@
source ../common.sh
enableFeatures "external-gc-daemon"
echo "gc-socket-path = $NIX_GC_SOCKET_PATH" >> "$NIX_CONF_DIR"/nix.cong
startGcDaemon