mirror of
https://github.com/NixOS/nix
synced 2025-06-25 23:11:16 +02:00
experimental/optional -> optional
This commit is contained in:
parent
52419f8db3
commit
c8a0b9d5cb
15 changed files with 27 additions and 27 deletions
|
@ -19,7 +19,7 @@ namespace nix {
|
|||
std::regex revRegex("^[0-9a-fA-F]{40}$");
|
||||
|
||||
GitInfo exportGit(ref<Store> store, const std::string & uri,
|
||||
std::experimental::optional<std::string> ref, std::string rev,
|
||||
std::optional<std::string> ref, std::string rev,
|
||||
const std::string & name)
|
||||
{
|
||||
if (evalSettings.pureEval && rev == "")
|
||||
|
@ -183,7 +183,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
|
|||
static void prim_fetchGit(EvalState & state, const Pos & pos, Value * * args, Value & v)
|
||||
{
|
||||
std::string url;
|
||||
std::experimental::optional<std::string> ref;
|
||||
std::optional<std::string> ref;
|
||||
std::string rev;
|
||||
std::string name = "source";
|
||||
PathSet context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue