about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops/fetchgit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchgit.cc b/src/libexpr/primops/fetchgit.cc
index 81b641900593..2b1d366ff4a5 100644
--- a/src/libexpr/primops/fetchgit.cc
+++ b/src/libexpr/primops/fetchgit.cc
@@ -73,7 +73,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
         // FIXME: doesn't handle empty lines
         auto json = nlohmann::json::parse(readFile(storeLink));
 
-        assert(json["uri"] == uri && json["name"] == name && json["rev"] == gitInfo.rev);
+        assert(json["name"] == name && json["rev"] == gitInfo.rev);
 
         gitInfo.storePath = json["storePath"];