mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Respect the narHash attribute in more input types
(cherry picked from commit a6ff66b658
)
This commit is contained in:
parent
670feb000a
commit
f58a9b0e62
5 changed files with 8 additions and 8 deletions
|
@ -33,7 +33,7 @@ struct GitHubInput : Input
|
|||
|
||||
bool isImmutable() const override
|
||||
{
|
||||
return (bool) rev;
|
||||
return (bool) rev || narHash;
|
||||
}
|
||||
|
||||
std::optional<std::string> getRef() const override { return ref; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue