1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-15 21:41:04 +01:00

Merge pull request #14759 from NixOS/fix-netrc-path

globals: Fix netrc-file default value
This commit is contained in:
Eelco Dolstra 2025-12-10 12:19:58 +00:00 committed by GitHub
commit 3e832b61ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1143,7 +1143,7 @@ public:
Setting<std::string> netrcFile{
this,
fmt("%s/%s", nixConfDir, "netrc"),
(nixConfDir / "netrc").string(),
"netrc-file",
R"(
If set to an absolute path to a `netrc` file, Nix uses the HTTP