| Commit message (Expand) | Author | Age | Files | Lines |
| * | lib/path: properly handle /. in hasStorePathPrefix | Mikael Voss | 2025-04-02 | 1 | -0/+6 |
| * | lib/path: allow CA paths in hasStorePathPrefix | Mikael Voss | 2025-03-05 | 1 | -0/+10 |
| * | 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 Mosberger | 2024-12-10 | 3 | -64/+99 |
| * | lib.path.hasStorePathPrefix: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
| Silvan Mosberger | 2023-12-13 | 1 | -1/+29 |
| * | 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 Joseph | 2023-11-18 | 1 | -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 Hensing | 2023-08-11 | 1 | -1/+8 |
| * | Merge pull request #242695 from tweag/lib.path.subpath.components•••`lib.path.subpath.components`: init | Robert Hensing | 2023-08-04 | 1 | -0/+13 |
| |\ |
|
| | * | lib.path.subpath.components: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
| Silvan Mosberger | 2023-07-26 | 1 | -0/+13 |
| * | | lib.path.splitRoot: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
| Silvan Mosberger | 2023-07-26 | 1 | -1/+18 |
| * | | Merge pull request #238013 from tweag/lib.path.removePrefix•••`lib.path.removePrefix`: init | Robert Hensing | 2023-07-19 | 1 | -1/+18 |
| |\ \ |
|
| | * | | lib.path.removePrefix: init | Silvan Mosberger | 2023-07-10 | 1 | -1/+18 |
| * | | | Merge pull request #244044 from tweag/lib-readme•••Create a Readme in `lib` | Robert Hensing | 2023-07-19 | 1 | -2/+5 |
| |\ \ \
| |_|/
|/| | |
|
| | * | | lib/tests: Unify documentation of individual testable files | Silvan Mosberger | 2023-07-18 | 1 | -2/+5 |
| * | | | lib/path/tests/prop.sh: Add --show-trace | Robert Hensing | 2023-06-26 | 1 | -1/+1 |
| * | | | lib/path/tests: Add --show-trace•••This should help troubleshoot errors.
Fyi --eval is just a flag, not an option with a value.
| Robert Hensing | 2023-06-26 | 1 | -2/+3 |
| | |/
|/| |
|
| * | | lib.path.hasPrefix: init | Silvan Mosberger | 2023-06-15 | 1 | -1/+18 |
| |/ |
|
| * | lib.path.subpath.join: init•••This function can be used to safely join subpaths together
| Silvan Mosberger | 2023-02-13 | 1 | -0/+30 |
| * | Merge pull request #208887 from tweag/lib.path.append•••lib.path.append: init | Silvan Mosberger | 2023-02-07 | 1 | -1/+39 |
| |\ |
|
| | * | lib.path.append: init•••This function can be used to append strings to Nix path values in a
safe way.
| Silvan Mosberger | 2023-01-18 | 1 | -1/+35 |
| | * | lib.path: Minor improvements•••- Use isValid when possible instead of subpathInvalidReason: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068714681
- Add documentation to function arguments
- Use newlines for error messages: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1069737602
- Add short comments for the unit test groups: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1072913051
- Slight formatting improvement for laws: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068707955
| Silvan Mosberger | 2023-01-18 | 1 | -0/+4 |
| * | | lib/path/tests: Fix property tests when "-n" is generated•••When "-n" is generated by the property tests, it causes `echo` to not
output the string since it's interpreted as an option. Apparently
there's no good way to print "-n" with `echo` [1], so switching to
`printf` instead
[1]: https://unix.stackexchange.com/questions/85846/how-can-i-print-n-with-echo
| Silvan Mosberger | 2023-01-10 | 1 | -1/+1 |
| |/ |
|
| * | lib.path.subpath.normalise: add property tests | Silvan Mosberger | 2023-01-03 | 4 | -0/+310 |
| * | lib.path.subpath.normalise: init | Silvan Mosberger | 2023-01-03 | 1 | -0/+49 |
| * | lib.path.subpath.isValid: init•••The first path library function
| Silvan Mosberger | 2023-01-03 | 2 | -0/+103 |