mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Use std::string_view
in a few more places
This commit is contained in:
parent
2853ba4ab2
commit
f6f01416b7
6 changed files with 12 additions and 12 deletions
|
@ -76,7 +76,7 @@ struct GitHubInput : Input
|
|||
readFile(
|
||||
store->toRealPath(
|
||||
downloadFile(store, url, "source", false).storePath)));
|
||||
rev = Hash(json["sha"], htSHA1);
|
||||
rev = Hash(std::string { json["sha"] }, htSHA1);
|
||||
debug("HEAD revision for '%s' is %s", url, rev->gitRev());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue