mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
libfetchers: set free gitlab headers
This commit is contained in:
parent
bceda30498
commit
79d07d0980
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ struct GitLabInputScheme : GitArchiveInputScheme
|
||||||
if ("PAT" == token.substr(0, fldsplit))
|
if ("PAT" == token.substr(0, fldsplit))
|
||||||
return std::make_pair("Private-token", token.substr(fldsplit+1));
|
return std::make_pair("Private-token", token.substr(fldsplit+1));
|
||||||
warn("Unrecognized GitLab token type %s", token.substr(0, fldsplit));
|
warn("Unrecognized GitLab token type %s", token.substr(0, fldsplit));
|
||||||
return std::nullopt;
|
return std::make_pair(token.substr(0,fldsplit), token.substr(fldsplit+1));
|
||||||
}
|
}
|
||||||
|
|
||||||
Hash getRevFromRef(nix::ref<Store> store, const Input & input) const override
|
Hash getRevFromRef(nix::ref<Store> store, const Input & input) const override
|
||||||
|
|
Loading…
Reference in a new issue