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 committed 2024-02-23 10:00:10 +01:00
1 parent 21efcb7b61
commit bc445dc2b6
2 files changed
+2 -1

No files matched your search

+1 -1
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."
};
+1
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