| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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 | 1 | -99/+63 |
| * | doc: migrate filesets to doc-comment format (#303811)•••* doc: migrate filesets to doc-comment format
* fix definition list indentation | Johannes Kirschbauer | 2024-05-20 | 1 | -270/+461 |
| * | lib.fileset: fix typo: compatibity to compatibility | Philip Taron | 2024-04-02 | 1 | -1/+1 |
| * | lib.fileset.toList: init | Silvan Mosberger | 2024-02-26 | 1 | -0/+37 |
| * | lib.fileset.gitTracked: Support out-of-tree builds | Silvan Mosberger | 2023-12-19 | 1 | -0/+6 |
| * | lib.fileset: Refactor gitTracked and gitTrackedWith•••Introduce an internal function for them to share more behavior.
This makes future changes easier.
| Silvan Mosberger | 2023-12-11 | 1 | -41/+17 |
| * | Merge pull request #266362 from tweag/fileset.fileFilter-ext•••`lib.fileset.fileFilter`: Predicate attribute for file extension | Silvan Mosberger | 2023-11-24 | 1 | -1/+8 |
| |\ |
|
| | * | lib.fileset.fileFilter: Predicate attribute for file extension | Silvan Mosberger | 2023-11-23 | 1 | -1/+8 |
| * | | lib.fileset.maybeMissing: init | Silvan Mosberger | 2023-11-20 | 1 | -0/+31 |
| |/ |
|
| * | lib.fileset: Re-order to match reference overview | Silvan Mosberger | 2023-11-19 | 1 | -200/+200 |
| * | lib.fileset: Add overview section to reference docs | Silvan Mosberger | 2023-11-19 | 1 | -2/+44 |
| * | Merge pull request #268520 from tweag/fileset-minor-changes•••`lib.fileset`: Minor changes | Silvan Mosberger | 2023-11-19 | 1 | -1/+1 |
| |\ |
|
| | * | lib.fileset: Minor changes•••- Make fromSource's missing file error message more consistent with others,
and add a test for it
- Indent some function arguments
- Fix an internal type
| Silvan Mosberger | 2023-11-19 | 1 | -1/+1 |
| * | | lib.fileset: Move introduction section above the functions•••Previously the introductory section and the function listings were in
different places. But now nixdoc supports having them together
with https://github.com/nix-community/nixdoc/pull/70!
| Silvan Mosberger | 2023-11-19 | 1 | -0/+49 |
| |/ |
|
| * | lib.fileset.gitTracked: Better error in pure eval | Silvan Mosberger | 2023-11-16 | 1 | -2/+7 |
| * | lib.fileset.gitTrackedWith: Introduce recurseSubmodules parameter | Silvan Mosberger | 2023-11-16 | 1 | -3/+23 |
| * | lib.fileset.gitTracked/gitTrackedWith: init•••A configuration parameter for gitTrackedWith will be introduced in the
next commit
| Silvan Mosberger | 2023-11-16 | 1 | -0/+88 |
| * | lib.fileset.fileFilter: Restrict second argument to paths•••While this change is backwards-incompatible, I think it's okay because:
- The `fileFilter` function is not yet in a stable NixOS release, it was only merged about [a month ago](https://github.com/NixOS/nixpkgs/pull/257356).
- All public uses of the function on GitHub only pass a path
- Any `fileFilter pred fileset` can also be expressed as `intersection fileset (fileFilter pred path)` without loss of functionality.
- This is furthermore pointed out in the new error message when a file set is passed
| Silvan Mosberger | 2023-11-15 | 1 | -5/+15 |
| * | Merge pull request #267381 from tweag/fileset.fileFilter-path•••`fileset.fileFilter`: Don't run predicate unnecessarily | Silvan Mosberger | 2023-11-15 | 1 | -2/+2 |
| |\ |
|
| | * | lib.fileset.fileFilter: Minor cleanups and more tests | Silvan Mosberger | 2023-11-14 | 1 | -2/+2 |
| * | | lib.fileset: Very minor changes | Silvan Mosberger | 2023-11-13 | 1 | -1/+1 |
| * | | Merge pull request #261732 from tweag/fileset.fromSource•••`lib.fileset.fromSource`: init | Robert Hensing | 2023-11-10 | 1 | -1/+77 |
| |\ \
| |/
|/| |
|
| | * | lib.fileset.toSource: Mention fromSource in errors | Silvan Mosberger | 2023-11-08 | 1 | -1/+6 |
| | * | lib.fileset.fromSource: init | Silvan Mosberger | 2023-11-08 | 1 | -0/+71 |
| * | | lib.fileset: Make error messages more uniform•••Just minor changes like:
- Always using "X is a Y, but it should be Z"
- "X is a path that does not exist" rather than "X does not exist"
- Always using multi-line strings for errors
- Always quoting string-like values and not quoting path-like values
- But do quote filesystem roots. Even though they're paths, they might
be very small, good to have quotes to know the start/end
- Capitalise the first word
- Distinguish root vs filesystem root more
| Silvan Mosberger | 2023-11-08 | 1 | -18/+20 |
| * | | lib.fileset: Remove nixdoc workaround•••This problem was fixed in https://github.com/nix-community/nixdoc/pull/81 which is included in version 2.5.1, which is now used in Nixpkgs
| Silvan Mosberger | 2023-11-08 | 1 | -9/+7 |
| * | | lib.fileset.difference: init | Silvan Mosberger | 2023-10-30 | 1 | -0/+53 |
| * | | lib.fileset.fileFilter: init | Silvan Mosberger | 2023-10-24 | 1 | -0/+51 |
| |/ |
|
| * | lib.fileset.intersection: init | Silvan Mosberger | 2023-10-11 | 1 | -0/+41 |
| * | Merge pull request #256417 from tweag/fileset.trace•••`lib.fileset.trace`, `lib.fileset.traceVal`: init | Silvan Mosberger | 2023-10-04 | 1 | -0/+91 |
| |\ |
|
| | * | lib.fileset.traceVal: init | Silvan Mosberger | 2023-10-04 | 1 | -0/+54 |
| | * | lib.fileset.trace: init | Silvan Mosberger | 2023-10-04 | 1 | -0/+37 |
| * | | lib.fileset.unions: Fix outdated docs•••Since 4f35f003e6e5b800be75e3985054e5fce2dea50a unions supports empty lists too
| Silvan Mosberger | 2023-10-03 | 1 | -1/+0 |
| |/ |
|
| * | lib.fileset: Internal representation v3, empty value without a base•••`unions []` now works!
Notably the new empty value without a base is not exposed in the interface.
I don't know of any use case for it.
| Silvan Mosberger | 2023-10-03 | 1 | -5/+2 |
| * | lib.fileset: Minor changes from feedback•••Co-authored-by: Robert Hensing <robert@roberthensing.nl>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
| Silvan Mosberger | 2023-09-21 | 1 | -36/+33 |
| * | lib.fileset: Various updates relating to union/unions•••Also some minor formatting improvements
| Silvan Mosberger | 2023-09-21 | 1 | -10/+51 |
| * | lib.fileset.unions: init | Silvan Mosberger | 2023-09-21 | 1 | -0/+65 |
| * | lib.fileset.union: init | Silvan Mosberger | 2023-09-21 | 1 | -0/+45 |
| * | lib.fileset.toSource: Evaluate fileset even for empty directories | Silvan Mosberger | 2023-09-13 | 1 | -1/+3 |
| * | lib.fileset.toSource: init | Silvan Mosberger | 2023-09-01 | 1 | -0/+131 |