mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Remove no longer needed hack
This commit is contained in:
parent
ecb418e163
commit
d90b56d527
@ -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…
Reference in New Issue
Block a user