Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-11-05 | lib.systems.inspect: add patternLogicalAnd | Adam Joseph | 1 | -0/+26 | |
2023-11-04 | Merge pull request #265045 from Artturin/addcomment1 | Artturi | 1 | -0/+17 | |
2023-11-04 | lib.systems, test.cross.sanity: add test case for #264989 | Adam Joseph | 1 | -0/+1 | |
We have several cross-compilation bugs that show up if hostPlatform!=buildPlatform yet hostPlatform.config==buildPlatform.config. These bugs have appeared and disappeared as we've fiddled with the definition of equality for platform objects. This commit adds a clear-cut case where they are *not* equal and never will be, so we can test it. | |||||
2023-11-02 | Merge pull request #264892 from tweag/fileset-store-path-rationale | Silvan Mosberger | 1 | -0/+3 | |
lib.fileset: Add an additional argument in the design docs | |||||
2023-11-02 | lib.makeScopeWithSplicing': add comments | Artturin | 1 | -0/+17 | |
I didn't add these arguments, so these comments are from my understading of the arguments. | |||||
2023-11-01 | lib.fileset: Add an additional argument in the design docs | Silvan Mosberger | 1 | -0/+3 | |
2023-11-01 | Merge pull request #264860 from tweag/filesystem-error-test | Eelco Dolstra | 1 | -2/+8 | |
lib.filesystem: Don't test Nix-specific error messages | |||||
2023-11-01 | Merge pull request #259065 from tweag/fileset.difference | Silvan Mosberger | 3 | -0/+231 | |
`lib.fileset.difference`: init | |||||
2023-11-01 | lib.filesystem: Don't test Nix-specific error messages | Silvan Mosberger | 1 | -2/+8 | |
In https://github.com/NixOS/nix/pull/9269 the error messages change which would've broken this test. | |||||
2023-10-31 | lib/fixed-points.nix: correct typo | Alexander Groleau | 1 | -1/+1 | |
Corrects a minor typo in the description of `fix`; namely that `fix` allows factoring out syntactic recursion from another function. | |||||
2023-10-31 | Merge pull request #260971 from Gerg-L/getExe | Silvan Mosberger | 2 | -1/+36 | |
lib.getExe': check arguments | |||||
2023-10-30 | Merge pull request #263478 from tweag/fileset/unknown-type-error | Robert Hensing | 2 | -24/+43 | |
`lib.fileset.toSource`: Improve error for unknown file types | |||||
2023-10-30 | lib.fileset.difference: init | Silvan Mosberger | 3 | -0/+231 | |
2023-10-30 | lib.fileset.toSource: Optimise unknown file type error | Silvan Mosberger | 1 | -27/+28 | |
Compared to the parent commit, this removes any detectable performance cost :) | |||||
2023-10-30 | lib.fileset.toSource: Improve error for unknown file types | Silvan Mosberger | 2 | -20/+33 | |
This does decrease performance unfortunately Benchmarking expression toSource { root = ./.; fileset = ./.; } Mean CPU time 0.103747 (σ = 0.012415) for 10 runs is 97.32181384964636% (σ = 16.34179537413021%) of the old value 0.106602 (σ = 0.0125571) Statistic .envs.elements (205920) is 105.5842% (+10891) of the old value 195029 Statistic .gc.totalBytes (20247696) is 101.7495% (+348160) of the old value 19899536 Statistic .nrThunks (134824) is 108.7878% (+10891) of the old value 123933 Statistic .symbols.number (996) is 100.1005% (+1) of the old value 995 Statistic .values.number (275238) is 104.1199% (+10891) of the old value 264347 | |||||
2023-10-26 | lib.fileset.toSource: Test with unknown file type | Silvan Mosberger | 1 | -0/+5 | |
Currently just throws the Nix error because unknown file types are not supported by the Nix store, but nothing catches this error earlier (yet, see next commit) | |||||
2023-10-26 | lib.fileset: Fix shellcheck warnings in tests | Silvan Mosberger | 1 | -4/+4 | |
2023-10-25 | Merge pull request #262838 from amjoseph-nixpkgs/pr/lib/systems/abi-suffix | John Ericson | 1 | -1/+10 | |
lib/systems/parse.nix: add removeAbiSuffix, use it | |||||
2023-10-24 | Merge pull request #260265 from tweag/fileset.fileFilter | Robert Hensing | 3 | -0/+144 | |
`lib.fileset.fileFilter`: init | |||||
2023-10-24 | lib.fileset.fileFilter: init | Silvan Mosberger | 3 | -0/+144 | |
2023-10-22 | lib/systems/parse.nix: add, use removeAbiSuffix | Adam Joseph | 1 | -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-21 | lib.overrideDerivation: inter-link the documentation | Yueh-Shun Li | 1 | -2/+1 | |
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||||
2023-10-21 | doc: lib.customization: add Type and Example tags | Yueh-Shun Li | 1 | -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-16 | lib/tests: add tests for getExe' and getExe | Gerg-L | 1 | -0/+28 | |
2023-10-16 | lib.getExe': check arguments | Gerg-L | 1 | -1/+8 | |
2023-10-16 | Merge pull request #258866 from schuelermine/mkPackageOptionV4 | Silvan Mosberger | 3 | -26/+106 | |
lib/options: mkPackageOption: document better, add pkgsText and usePname options, refactor | |||||
2023-10-16 | lib.fileset: Improved error for unsupported coercion values | Silvan Mosberger | 2 | -4/+4 | |
2023-10-13 | Merge pull request #260535 from ↵ | Robert Hensing | 2 | -3/+16 | |
hercules-ci/fix-functionArgs-after-makeOverridable lib.makeOverridable: fix functionArgs on returned function | |||||
2023-10-12 | Merge pull request #242318 from hercules-ci/doc-lib-fix | Silvan Mosberger | 1 | -8/+58 | |
lib.fix: Improve doc | |||||
2023-10-12 | lib.fix: Improve doc more | Silvan Mosberger | 1 | -14/+24 | |
Done together in and after the docs team meeting Co-Authored-By: Robert Hensing <robert@roberthensing.nl> | |||||
2023-10-11 | lib.makeOverridable: fix functionArgs on returned function | Robert Hensing | 2 | -3/+16 | |
2023-10-11 | Merge pull request #257356 from tweag/fileset.intersect | Silvan Mosberger | 4 | -8/+278 | |
`lib.fileset.intersection`: init | |||||
2023-10-11 | lib.fileset: Minor contributor doc adjustments | Silvan Mosberger | 1 | -2/+4 | |
Co-authored-by: Robert Hensing <robert@roberthensing.nl> | |||||
2023-10-11 | lib.fileset.intersection: init | Silvan Mosberger | 4 | -1/+257 | |
2023-10-10 | Merge pull request #254452 from flyingcircusio/lib-attrsToList | Silvan Mosberger | 3 | -2/+56 | |
lib.attrsets.attrsToList: add function | |||||
2023-10-10 | lib.attrsets.attrsToList: add function | Oliver Schmidt | 3 | -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-10 | lib/options: refactor mkPackageOption | Anselm Schüler | 1 | -13/+13 | |
2023-10-10 | lib/tests: add test for pkgsText parameter and package set selection of ↵ | Anselm Schüler | 2 | -0/+10 | |
mkPackageOption | |||||
2023-10-09 | link to documentation on IFD in the Nix manual | Valentin Gagarin | 1 | -1/+1 | |
2023-10-09 | lib: refactor | Anderson Torres | 1 | -12/+15 | |
- rename `(enable|with)Feature(As|)` inputs to more descriptive names | |||||
2023-10-06 | lib/options: add pkgsText parameter to mkPackageOption | Anselm Schüler | 1 | -7/+22 | |
2023-10-06 | lib/tests: add more tests for mkPackageOption | Anselm Schüler | 2 | -0/+32 | |
2023-10-06 | lib/options: correct and improve documentation of mkPackageOption | Anselm Schüler | 1 | -13/+36 | |
2023-10-05 | licenses: add Anti-Capitalist Software License v1.4 | mirrorwitch | 1 | -0/+8 | |
2023-10-04 | lib.fileset: Refactor for performance and future re-use | Silvan Mosberger | 1 | -5/+17 | |
2023-10-04 | Merge pull request #256417 from tweag/fileset.trace | Silvan Mosberger | 4 | -74/+502 | |
`lib.fileset.trace`, `lib.fileset.traceVal`: init | |||||
2023-10-04 | lib.fileset: Don't use ulimit for testing tracing | Silvan Mosberger | 1 | -8/+13 | |
2023-10-04 | lib.fileset: Refactor inotify testing to be reusable | Silvan Mosberger | 1 | -51/+87 | |
2023-10-04 | lib.fileset: Mention trace functions in the file set evaluation error | Silvan Mosberger | 3 | -4/+9 | |
2023-10-04 | lib.fileset.traceVal: init | Silvan Mosberger | 2 | -0/+68 | |