4f0dadbf38
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
Testing julia.withPackages
This folder contains a test suite for ensuring that the top N most popular Julia packages (as measured by download count) work properly. The key parts are
top-julia-packages.nix: an impure derivation for fetching Julia download data and processing it into a file calledtop-julia-packages.yaml. This YAML file contains an array of objects with fields "name", "uuid", and "count", and is sorted in decreasing order of count.julia-top-n: a small Haskell program which readstop-julia-packages.yamland builds ajulia.withPackagesenvironment for each package, with a nice interactive display and configurable parallelism. It also tests whether evaluatingusing <package-name>works in the resulting environment.
Warning: These tests should only be run on maintainer machines, not Hydra!
julia.withPackagesuses IFD, which is not allowed in Hydra.
Quick start
# Test the top 100 Julia packages
./run_tests.sh -n 100
Options
You can run ./run_tests.sh --help to see additional options for the test harness. The main ones are
-n/--top-n: how many of the top packages to build (default: 100).-p/--parallelism: how many builds to run at once (default: 10).-c/--count-file: path totop-julia-packages.yaml.