summaryrefslogtreecommitdiff
path: root/lib/path/tests/default.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* treewide: format all inactive Nix files•••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 b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH Silvan Mosberger2024-12-101-29/+33
* lib.tests: build nix without flaky aws-sdk-cpp•••The aws-sdk-cpp tests are flaky. Since pull requests to staging cause nix to be rebuilt, this means that staging PRs end up getting false CI failures due to whatever is flaky in the AWS SDK tests. Since none of our CI needs to (or should be able to) contact AWS S3, let's just omit it all. Bonus: the tests build way faster. Adam Joseph2023-11-181-3/+6
* lib/path/tests: Fix test setup on darwin•••These statements are taken from the `lib/test/release.nix` tests, which previously also worked on darwin. Unblocks https://github.com/NixOS/nix/pull/8569 when backported Robert Hensing2023-08-111-1/+8
* lib/path/tests: Add --show-trace•••This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value. Robert Hensing2023-06-261-2/+3
* lib.path.subpath.normalise: add property testsSilvan Mosberger2023-01-031-0/+7
* lib.path.subpath.isValid: init•••The first path library function Silvan Mosberger2023-01-031-0/+27