aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchGit.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-04-19 11:16:14 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-04-19 11:16:14 +0200
commit46cb15df9b3501ca631779fa7d5c6299c1c17b53 (patch)
tree1c84d3c976cc70131efac35d6f8b5379dd3625cd /src/libexpr/primops/fetchGit.hh
parent6e4210d8ce76f52d9fd717660ea24b98ba780843 (diff)
Fix assertion failure in FlakeRef::to_string()
Diffstat (limited to 'src/libexpr/primops/fetchGit.hh')
-rw-r--r--src/libexpr/primops/fetchGit.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/primops/fetchGit.hh b/src/libexpr/primops/fetchGit.hh
index 60c439426..5937bdcc0 100644
--- a/src/libexpr/primops/fetchGit.hh
+++ b/src/libexpr/primops/fetchGit.hh
@@ -9,6 +9,7 @@ namespace nix {
struct GitInfo
{
Path storePath;
+ std::string ref;
std::string rev;
std::string shortRev;
std::optional<uint64_t> revCount;