mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 22:11: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:
parent
907a5761fa
commit
fd6c4614cf
1 changed files with 1 additions and 1 deletions
|
|
@ -1141,7 +1141,7 @@ public:
|
||||||
|
|
||||||
Setting<std::string> netrcFile{
|
Setting<std::string> netrcFile{
|
||||||
this,
|
this,
|
||||||
fmt("%s/%s", nixConfDir, "netrc"),
|
(nixConfDir / "netrc").string(),
|
||||||
"netrc-file",
|
"netrc-file",
|
||||||
R"(
|
R"(
|
||||||
If set to an absolute path to a `netrc` file, Nix uses the HTTP
|
If set to an absolute path to a `netrc` file, Nix uses the HTTP
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue