summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* lib.types.anything: remove custom logic for lists (#340202)Robert Hensing2024-09-184-10/+7
|\
| * lib.types.anything: remove custom logic for lists (default to 'mergeEqualOpti...•••Previously, for values of type list, the merge function would only retain the value if the number of option definitions was less than or equal to 1, and would throw an error for conflicting definitions to avoid potentially unwanted list merges. This change removes that logic, defaulting to the 'mergeEqualOption' function for values of type list. This approach maintains the same safeguard against merging different lists while allowing lists with identical values to be merged. Alexis Destrez2024-09-074-10/+7
* | lib.fetchers: add hash-normalization helpers (#342072)nicoo2024-09-173-1/+339
|\ \
| * | lib.fetchers.normalizeHash: more implementation comment and clearer variable ...nicoo2024-09-171-11/+12
| * | lib.fetchers: add testsnicoo2024-09-172-0/+166
| * | lib.fetchers.normalizeHash: replace `""` with `lib.fake*`nicoo2024-09-171-2/+15
| * | lib.fetchers: factor-out definitions common to `normalizeHash` and `withNorma...nicoo2024-09-171-6/+10
| * | lib.fetchers: replace `with`-bindings with explicit `let inherit`nicoo2024-09-171-2/+6
| * | lib.fetchers: optimize `normalizeHash` and `withNormalizedHash` via min-scopingnicoo2024-09-171-23/+30
| * | lib.fetchers.withNormalizedHash: handle fetchers whose hash parameter is opti...nicoo2024-09-171-6/+7
| * | lib.fetchers: add `normalizeHash` and `withNormalizedHash`nicoo2024-09-171-1/+143
* | | lib.fixedPoints.toExtension: improve documentation•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>Yueh-Shun Li2024-09-141-9/+8
* | | lib.fixedPoints.toExtension: Improve type ••• This makes the type more informative and general - closer to how the function behaves, particularly in isolation. Co-authored-by: Yueh-Shun Li <shamrocklee@posteo.net>Robert Hensing2024-09-141-2/+11
* | | lib.toExtension: init•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Yueh-Shun Li2024-09-143-1/+83
* | | lib/tests/misc.nix: move testFix into new category FIXED-POINTSYueh-Shun Li2024-09-141-5/+7
|/ /
* | doc: lib.composeExtensions reference to overlays (#325479)Robert Hensing2024-09-131-47/+91
|\ \
| * | Apply suggestions from code review•••Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>Johannes Kirschbauer2024-09-111-4/+4
| * | format: lib/fixed-pointsJohannes Kirschbauer2024-08-151-24/+33
| * | doc: refactor documentation for lib.{composeExtensions,composeManyExtensions}Johannes Kirschbauer2024-08-151-27/+62
* | | lib/types: fix toCoerced's typeMergeHexoKnight2024-09-103-1/+13
* | | Merge master into staging-nextgithub-actions[bot]2024-09-091-0/+7
|\ \ \
| * \ \ _1fps: init at 0.1.10 (#333281)Aleksana2024-09-091-0/+7
| |\ \ \ | | |_|/ | |/| |
| | * | licenses: add FSL-1.1-Apache-2.0renesat2024-09-081-0/+7
* | | | Merge remote-tracking branch 'origin/master' into staging-nextK9002024-09-041-3/+2
|\| | |
| * | | databricks-cli: Init at 0.227.0 (#332946)Sandro2024-09-031-3/+2
| |\ \ \
| | * | | licenses: Update databricks metadata•••Link to offical Databricks License URL Kristoffer K. Føllesdal2024-08-261-3/+2
* | | | | Merge master into staging-nextgithub-actions[bot]2024-09-031-3/+4
|\| | | |
| * | | | lib.strings.trimWith: Refactor scoping•••I wanted to use this instead of [my ownimplementation](https://github.com/nix-community/pyproject.nix/blob/65d4134/lib/util.nix#L18-L23) and got a small performance regression. adisbladis2024-09-031-3/+4
* | | | | Merge master into staging-nextgithub-actions[bot]2024-09-021-0/+1
|\| | | |
| * | | | lib.systems: add rustTarget for riscv32•••Fixes buildPackages.rustc when cross compiling to riscv32. Alyssa Ross2024-09-021-0/+1
* | | | | Merge master into staging-nextgithub-actions[bot]2024-09-022-5/+5
|\| | | |
| * | | | lib/modules: improve error message when option is being accessed that isn't d...Robert Hensing2024-09-022-5/+5
| |\ \ \ \
| | * | | | lib/modules: improve error message when option is being accessed that isn't d...Sandro Jäckel2024-09-012-5/+5
* | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-311-0/+1
|\| | | | |
| * | | | | lib.platforms.aarch: initAlyssa Ross2024-08-311-0/+1
* | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-311-2/+0
|\| | | | |
| * | | | | staging-next 2024-08-23 (#336718)Vladimír Čunát2024-08-312-8/+36
| |\ \ \ \ \
| * | | | | | lib.platforms.mesaPlatforms: remove•••Mesa is a package like any other. There's no reason for it to be a special case with its platforms listed in lib, because if other packages want to refer to mesa's platforms, they can access the platforms from the package meta like they would for any other package. Alyssa Ross2024-08-311-2/+0
* | | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-315-0/+75
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge master into staging-nextgithub-actions[bot]2024-08-315-0/+75
| |\| | | | |
| | * | | | | lib.importApply: init (#230588)•••* lib.modules.importApply: init Brings variables from rich scopes to modules defined in separate files. A helper for functions in files that return a module. * lib.modules.importApply: Edit doc Generally improve the quality. Notes: - Not rendered to the manual yet, so probably the syntax could be improved, but I have no way to test this now. - The docs use `arg` vs `staticArg` in the code. This is intentional, because the doc is pretty clear about the role of `arg` whereas the code exists in a context where ambiguities are more harmful. * FormatRobert Hensing2024-08-315-0/+75
* | | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-301-6/+9
|\| | | | | |
| * | | | | | Merge master into staging-nextgithub-actions[bot]2024-08-301-6/+9
| |\| | | | |
| | * | | | | treewide: use a consistent meta.priority defaultPhilip Taron2024-08-291-6/+9
| | |/ / / /
* | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-261-2/+3
|\| | | | |
| * | | | | Merge master into staging-nextgithub-actions[bot]2024-08-261-2/+3
| |\| | | |
| | * | | | lib/systems: set gcc.arch = "armv6kz", gcc.fpu = "vfpv2" for raspberryPi•••>The CPU in the Raspberry Pi 1 and Zero implements the ARMv6 ISA (with VFP2) https://wiki.debian.org/RaspberryPi#:~:text=The%20CPU%20in%20the%20Raspberry%20Pi,VFP2%29 See also - https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications - https://github.com/NixOS/nixpkgs/issues/319036#issuecomment-2232108373 Ivan Trubach2024-08-261-2/+3
* | | | | | Merge staging-next into staginggithub-actions[bot]2024-08-263-20/+34
|\| | | | |
| * | | | | Merge master into staging-nextgithub-actions[bot]2024-08-263-20/+34
| |\| | | |
| | * | | | cockroachdb-bin: Update licenses (#335770)Robert Scott2024-08-261-0/+6
| | |\ \ \ \