Fix build

https://hydra.nixos.org/build/63172338
This commit is contained in:
Eelco Dolstra 2017-11-01 21:32:30 +01:00
parent e026bc3b05
commit 212e72c609
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ namespace nix {
class Store; class Store;
class EvalState; class EvalState;
struct Bindings; class Bindings;
struct MixEvalArgs : virtual Args struct MixEvalArgs : virtual Args
{ {

View file

@ -56,7 +56,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
} }
} }
if (!ref) ref = "master"; if (!ref) ref = "master"s;
if (rev != "") { if (rev != "") {
std::regex revRegex("^[0-9a-fA-F]{40}$"); std::regex revRegex("^[0-9a-fA-F]{40}$");