diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-11-01T20·32+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-11-01T20·32+0100 |
commit | 212e72c60913c78eb88e347660144b441ea9f72b (patch) | |
tree | 537f05c56a8eca8dc9abbe76ea52061f0ce5f00f /src/libexpr/primops/fetchgit.cc | |
parent | e026bc3b05ca45c2d855d0a38820034ab4ef3c4c (diff) |
Fix build
https://hydra.nixos.org/build/63172338
Diffstat (limited to 'src/libexpr/primops/fetchgit.cc')
-rw-r--r-- | src/libexpr/primops/fetchgit.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchgit.cc b/src/libexpr/primops/fetchgit.cc index 879e3656a25a..4b5ead320c81 100644 --- a/src/libexpr/primops/fetchgit.cc +++ b/src/libexpr/primops/fetchgit.cc @@ -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}$"); |