@@ -172,13 +172,7 @@ getLatestRev = \case
172172 commitInfo : _ <- return $ toList commitInfos
173173 let commit = commitSha commitInfo
174174 putLog Debug $ "Latest commit is " <> untagName commit
175− Right archiveUri <- liftIO $ executeRequestMaybe auth $ archiveForR (_gitHubSource_owner s) (_gitHubSource_repo s) ArchiveFormatTarball $ Just $ untagName commit
176− nixSha256 <- getNixSha256ForUriUnpacked archiveUri
177− putLog Debug $ "Nix sha256 is " <> nixSha256
178− return $ ThunkRev
179− { _thunkRev_commit = commitNameToRef commit
180− , _thunkRev_nixSha256 = nixSha256
181− }
175+ githubThunkPtr s $ untagName commit
182176 ThunkSource_Git s -> do
183177 (_, commit) <- gitGetCommitBranch (_gitSource_url s) (untagName <$> _gitSource_branch s)
184178 gitThunkPtr s commit