mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Remove no longer needed hack
This commit is contained in:
parent
ecb418e163
commit
d90b56d527
1 changed files with 1 additions and 5 deletions
|
@ -384,11 +384,7 @@ struct TarballInputScheme : CurlInputScheme
|
|||
input = immutableInput;
|
||||
}
|
||||
|
||||
/* If we got a lastModified and the input is not final and
|
||||
doesn't have one, then return it. Note that we don't do
|
||||
this if the input is final for compatibility with old lock
|
||||
files that didn't include lastModified. */
|
||||
if (result.lastModified && !_input.isFinal() && !input.attrs.contains("lastModified"))
|
||||
if (result.lastModified && !input.attrs.contains("lastModified"))
|
||||
input.attrs.insert_or_assign("lastModified", uint64_t(result.lastModified));
|
||||
|
||||
input.attrs.insert_or_assign("narHash",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue