Skip to content

Commit

Permalink
Remove no longer needed hack
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Nov 8, 2024
1 parent ecb418e commit d90b56d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/libfetchers/tarball.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d90b56d

Please sign in to comment.