-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Hello @ipetkov!
I updated nix to a new version (nix (Determinate Nix 3.6.2) 2.29.0) and authorization for private repositories stopped working. Apparently, the new version ignores the curlOptsList options.
Reproduction
crane' = crane''.appendCrateRegistries [
(crane''.registryFromSparse {
indexUrl = "https://registry.patsakula.ru/api/v1/crates/";
configSha256 = "sha256:my_secret_sha";
fetchurlExtraArgs = {
curlOptsList = [
"-Hnonvalidflag"
"Authorization: MySecretKey"
];
};
})
];I'm getting 401 even if -Hnonvalidflag is present, so I assume that this options are not passing to curl.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working