Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Nov 1, 2017
1 parent e026bc3 commit 212e72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libexpr/common-eval-args.hh
Expand Up @@ -6,7 +6,7 @@ namespace nix {

class Store;
class EvalState;
struct Bindings;
class Bindings;

struct MixEvalArgs : virtual Args
{
Expand Down
2 changes: 1 addition & 1 deletion src/libexpr/primops/fetchgit.cc
Expand Up @@ -56,7 +56,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
}
}

if (!ref) ref = "master";
if (!ref) ref = "master"s;

if (rev != "") {
std::regex revRegex("^[0-9a-fA-F]{40}$");
Expand Down

0 comments on commit 212e72c

Please sign in to comment.