mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
Fix segfault
This commit is contained in:
parent
4989c04dd2
commit
2287cc6486
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ struct TarballInput : Input
|
|||
Attrs attrs;
|
||||
attrs.emplace("url", url.to_string());
|
||||
if (narHash)
|
||||
attrs.emplace("narHash", hash->to_string(SRI));
|
||||
attrs.emplace("narHash", narHash->to_string(SRI));
|
||||
else if (hash)
|
||||
attrs.emplace("hash", hash->to_string(SRI));
|
||||
return attrs;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue