about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2023-10-25Merge pull request #262838 from amjoseph-nixpkgs/pr/lib/systems/abi-suffixJohn Ericson1-1/+10
lib/systems/parse.nix: add removeAbiSuffix, use it
2023-10-24Merge pull request #260265 from tweag/fileset.fileFilterRobert Hensing3-0/+144
`lib.fileset.fileFilter`: init
2023-10-24lib.fileset.fileFilter: initSilvan Mosberger3-0/+144
2023-10-22lib/systems/parse.nix: add, use removeAbiSuffixAdam Joseph1-1/+10
gnu-config will ignore the portion of a triple matching the regex `e?abi.*$` when determining the validity of a triple. In other words, `i386-linuxabichickenlips` is a valid triple. This commit updates our parsing routines to match gnu-config. I was recently surprised to discover that it is in fact possible to shoehorn ABI flavors into nix doubles in a way which preserves their property of being a (non-canonical) subset of the valid gnu-config triples. This commit is required in order to exploit that discovery to add automatic detection of ILP32 platforms (64-bit void*, 32-bit int, like the Apple Watch and MIPS n32) to Nix.
2023-10-21lib.overrideDerivation: inter-link the documentationYueh-Shun Li1-2/+1
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-10-21doc: lib.customization: add Type and Example tagsYueh-Shun Li1-19/+70
Add the "Type:" blocks. Move the examples below the descriptions whenever possibles Add "Example:" tags before the examples moved below the descriptions.
2023-10-16Merge pull request #258866 from schuelermine/mkPackageOptionV4Silvan Mosberger3-26/+106
lib/options: mkPackageOption: document better, add pkgsText and usePname options, refactor
2023-10-16lib.fileset: Improved error for unsupported coercion valuesSilvan Mosberger2-4/+4
2023-10-13Merge pull request #260535 from ↵Robert Hensing2-3/+16
hercules-ci/fix-functionArgs-after-makeOverridable lib.makeOverridable: fix functionArgs on returned function
2023-10-12Merge pull request #242318 from hercules-ci/doc-lib-fixSilvan Mosberger1-8/+58
lib.fix: Improve doc
2023-10-12lib.fix: Improve doc moreSilvan Mosberger1-14/+24
Done together in and after the docs team meeting Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
2023-10-11lib.makeOverridable: fix functionArgs on returned functionRobert Hensing2-3/+16
2023-10-11Merge pull request #257356 from tweag/fileset.intersectSilvan Mosberger4-8/+278
`lib.fileset.intersection`: init
2023-10-11lib.fileset: Minor contributor doc adjustmentsSilvan Mosberger1-2/+4
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
2023-10-11lib.fileset.intersection: initSilvan Mosberger4-1/+257
2023-10-10Merge pull request #254452 from flyingcircusio/lib-attrsToListSilvan Mosberger3-2/+56
lib.attrsets.attrsToList: add function
2023-10-10lib.attrsets.attrsToList: add functionOliver Schmidt3-2/+56
For transforming back between lists and attrsets, it makes sense to have a quasi-inverse of `builtins.listToAttrs` available as a library function. Co-authored-by: Silvan Mosberger <github@infinisil.com> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-10-10lib/options: refactor mkPackageOptionAnselm Schüler1-13/+13
2023-10-10lib/tests: add test for pkgsText parameter and package set selection of ↵Anselm Schüler2-0/+10
mkPackageOption
2023-10-09link to documentation on IFD in the Nix manualValentin Gagarin1-1/+1
2023-10-09lib: refactorAnderson Torres1-12/+15
- rename `(enable|with)Feature(As|)` inputs to more descriptive names
2023-10-06lib/options: add pkgsText parameter to mkPackageOptionAnselm Schüler1-7/+22
2023-10-06lib/tests: add more tests for mkPackageOptionAnselm Schüler2-0/+32
2023-10-06lib/options: correct and improve documentation of mkPackageOptionAnselm Schüler1-13/+36
2023-10-05licenses: add Anti-Capitalist Software License v1.4mirrorwitch1-0/+8
2023-10-04lib.fileset: Refactor for performance and future re-useSilvan Mosberger1-5/+17
2023-10-04Merge pull request #256417 from tweag/fileset.traceSilvan Mosberger4-74/+502
`lib.fileset.trace`, `lib.fileset.traceVal`: init
2023-10-04lib.fileset: Don't use ulimit for testing tracingSilvan Mosberger1-8/+13
2023-10-04lib.fileset: Refactor inotify testing to be reusableSilvan Mosberger1-51/+87
2023-10-04lib.fileset: Mention trace functions in the file set evaluation errorSilvan Mosberger3-4/+9
2023-10-04lib.fileset.traceVal: initSilvan Mosberger2-0/+68
2023-10-04lib.fileset.trace: initSilvan Mosberger2-0/+188
2023-10-04lib.fileset: Make expectEqual check moreSilvan Mosberger1-4/+21
2023-10-04lib.fileset: Add internal helpers for pretty-printingSilvan Mosberger1-2/+107
2023-10-04Merge pull request #256411 from wegank/zelus-initUlrik Strid1-0/+6
ocamlPackages.zelus{,-gtk}: init at 2.2
2023-10-04licenses: add inria-zelusWeijia Wang1-0/+6
2023-10-04Merge pull request #258855 from tweag/fileset.doc-fixSilvan Mosberger2-2/+1
`lib.fileset.unions`: Fix outdated docs
2023-10-03lib.fileset.unions: Fix outdated docsSilvan Mosberger2-2/+1
Since 4f35f003e6e5b800be75e3985054e5fce2dea50a unions supports empty lists too
2023-10-03lib.fileset: _simplifyTree -> _normaliseTreeFilterSilvan Mosberger1-8/+8
2023-10-03lib.fileset: Order noEval lastSilvan Mosberger2-6/+10
2023-10-03lib.fileset: Link to user documentation from contributor docsSilvan Mosberger1-0/+5
2023-10-03Merge pull request #257351 from tweag/fileset.emptyRobert Hensing4-26/+119
`lib.fileset`: Representation for empty file sets without a base path
2023-10-03Merge pull request #258080 from tweag/fileset/no-ulimitRobert Hensing1-6/+7
lib.fileset: Don't use non-reproducible ulimit for stack overflow testing
2023-10-03lib.fileset: Internal representation v3, empty value without a baseSilvan Mosberger4-26/+119
`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.
2023-10-02Merge pull request #251812 from LeSuisse/licenses-elv2Fabian Affolter1-3/+3
lib/licenses: add Elastic License 2.0, drop Elastic License
2023-10-02Merge pull request #257143 from peat-psuwit/netdata-no-v2-dashboardRyan Lahfa1-0/+8
2023-10-01Merge #257338: fdk-aac: fix the licenseVladimír Čunát1-0/+5
2023-09-30Merge pull request #249069 from amjoseph-nixpkgs/pr/lib/systems/ubootArchArtturi1-0/+6
lib.systems: add ubootArch
2023-09-29lib.fileset: Don't use non-reproducible ulimit for stack overflow testingSilvan Mosberger1-6/+7
2023-09-28lib.gvariant: make the tests really worklinsui2-87/+58