* dart: 2.18.4 -> 2.19.3
https://dart.dev/guides/whats-new#january-25-2023-219--30-alpha-releases
* dart: move interpreters -> compilers
Dart is not an interpreted language by default. It can JIT compile, but
ultimately runs on a VM.
Languages which are similar in this regard, like Java and Go also
are sorted into interpreters.
* dart: add primitive tests
* dart: remove version override in sources
* dart: make codesign available in tests
* dart: format
---------
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Without the change parallel installs fail as:
installing rdoc: ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system
Traceback (most recent call last):
13: from ./tool/rbinstall.rb:954:in `<main>'
12: from ./tool/rbinstall.rb:954:in `each'
11: from ./tool/rbinstall.rb:957:in `block in <main>'
10: from ./tool/rbinstall.rb:438:in `block in <main>'
9: from ./tool/rbinstall.rb:262:in `install_recursive'
8: from ./tool/rbinstall.rb:262:in `each'
7: from ./tool/rbinstall.rb:271:in `block in install_recursive'
6: from ./tool/rbinstall.rb:174:in `install'
5: from /build/ruby-2.7.7/lib/fileutils.rb:876:in `install'
4: from /build/ruby-2.7.7/lib/fileutils.rb:1587:in `fu_each_src_dest'
3: from /build/ruby-2.7.7/lib/fileutils.rb:1605:in `fu_each_src_dest0'
2: from /build/ruby-2.7.7/lib/fileutils.rb:1589:in `block in fu_each_src_dest'
1: from /build/ruby-2.7.7/lib/fileutils.rb:882:in `block in install'
/build/ruby-2.7.7/lib/fileutils.rb:882:in `chmod': No such file or directory @ apply2files - ...-ruby-2.7.7-devdoc/share/ri/2.7.0/system/ARGF/inspect-i.ri (Errno::ENOENT)
make: *** [uncommon.mk:373: do-install-all] Error 1
make: *** Waiting for unfinished jobs....
This script is heavily based on the script used to update all python
libraries at
pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py
The Octave Packages' website uses YAML as their basis, so we must
reformat to use YAML instead of JSON.
- Prune unused imports
- Collect imports at the top
- Removed unused exception assignments
- Fill bare except clause with
- Expand overly long check_output lines
Retrieve the current package hash and use it for a more precise match,
which allows us to update a derivation in situation where multiple
hashes are present.
By settings `passthru.skipBulkUpdate = true` in a python package, it
will be excluded from bulk update runs.
This is useful in case of fragile packages, that require special
attention during updates.
Previously when packages that required the git fetcher were updated, we
would wrongly rely on `nix-prefetch-url`, which would reliable break the
hash.
Instead we need to use `nix-prefetch-git` to determine the proper hash,
when the relevant attributes are present.
It won't be enough to fix cross in all cases, but it is in at least
one: pywayland. I've only made the change in cases I'm confident it's
correct, as it would be wrong to change this when python.interpreter
is used in wrappers, and possibly when it's used for running tests.
When PyPy introduced Python 3.8 support with version 7.3.6, they also
migrated to using CPython's directory layout [0]:
> The 3.8 package now uses the same layout as CPython, and many of the
PyPy-specific changes to `sysconfig`, `distutils.sysconfig`, and
`distutils.commands.install.py` have been removed. The stdlib now is
located in `<base>/lib/pypy3.8` on `posix` systems...
When we upgraded past this version and added Python 3.8 support [1], the
`sitePackages` value was never updated, leading `bootstrapped-pip` to fail
to build, because wheel was trying to be located in `$out/site-packages`,
when it was actually installed to `$out/lib/pypy3.8/site-packages`.
[0]: https://www.pypy.org/posts/2021/10/pypy-v736-release.html
[1]: eec28b8cfd
treewide: move NIX_CFLAGS_COMPILE to the env attrset
`nix-eval-jobs --flake ".#legacyPackages.x86_64-linux" --workers 3 2>/dev/null --impure | jq 'select(.error?) | select(.error | match ("attribute set can only contain derivation") )'`
and
`nix-eval-jobs --flake ".#legacyPackages.aarch64-darwin" --workers 3 2>/dev/null --impure | jq 'select(.error?) | select(.error | match ("attribute set can only contain derivation") )'`
no longer has output so this could be all of the remaining issues