1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 14:01:05 +01:00

globals: Fix netrc-file default value

std::filesystem::path does quoting by default so it resulted in:

> netrc-file = "/etc/nix"/netrc
This commit is contained in:
Sergei Zimmerman 2025-12-10 03:34:10 +03:00
parent 907a5761fa
commit fd6c4614cf
No known key found for this signature in database

View file

@ -1141,7 +1141,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