mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02: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 attrs;
|
||||||
attrs.emplace("url", url.to_string());
|
attrs.emplace("url", url.to_string());
|
||||||
if (narHash)
|
if (narHash)
|
||||||
attrs.emplace("narHash", hash->to_string(SRI));
|
attrs.emplace("narHash", narHash->to_string(SRI));
|
||||||
else if (hash)
|
else if (hash)
|
||||||
attrs.emplace("hash", hash->to_string(SRI));
|
attrs.emplace("hash", hash->to_string(SRI));
|
||||||
return attrs;
|
return attrs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue