mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-29 08:38:18 +03:00
fetchDartDeps: Use add milliseconds to date in package_config.json
This in compliance with the format specification. https://github.com/dart-lang/language/blob/main/accepted/2.8/language-versioning/package-config-file-v2.md
This commit is contained in:
parent
03ae92a17d
commit
145c291ca6
@ -203,7 +203,7 @@ let
|
||||
# usage.
|
||||
jq -S '
|
||||
.packages[] |= . + { rootUri: .rootUri | gsub("'"$PUB_CACHE"'"; "${hook.deps}/cache/.pub-cache") }
|
||||
| .generated |= "1970-01-01T00:00:00Z"
|
||||
| .generated |= "1970-01-01T00:00:00.000Z"
|
||||
' .dart_tool/package_config.json > $out
|
||||
|
||||
runHook postBuild
|
||||
|
Loading…
Reference in New Issue
Block a user