When lastModified comes via inputFromAttrs it ends up as string in the Attrs map. This results in: error: input attribute 'lastModified' is not an integer Fix by handling it like revCount, which already does the right thing. If added a test and confirmed that it catches the issue. Also kudos to alexander.sieg@cyberus-technology.de for helping with debugging this! Change-Id: I8378fcaea986d798cb8458d4e6e15c2a92c2520a
406 B
406 B
synopsis, issues, cls, category, credits
| synopsis | issues | cls | category | credits | |||
|---|---|---|---|---|---|---|---|
| Fix handling of `lastModified` in tarball inputs |
|
Fixes |
|
Previous versions of Lix would fail with the following error, if a
tarball flake input redirect
to a URL that contains a lastModified field:
error: input attribute 'lastModified' is not an integer
This is now fixed.