about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2023-02-26Merge master into staging-nextgithub-actions[bot]1-15/+48
2023-02-26lib/options: Add more options to mkPackageOptionAnselm Schüler1-15/+48
2023-02-23Merge master into staging-nextgithub-actions[bot]1-5/+5
2023-02-23lib.licenses.asl20-llvm: replace llvm-exceptionAlyssa Ross1-5/+5
LLVM-exception only makes sense when used with the Apache 2.0 license, so let's combine them, so it's not possible to forget one of them like happened with llvm_15.
2023-02-23Merge master into staging-nextgithub-actions[bot]1-9/+57
2023-02-23improves: comprehensivenesshsjobeki1-8/+3
2023-02-23add better documentation comments to lib.runTestshsjobeki1-6/+59
2023-02-21Merge master into staging-nextgithub-actions[bot]1-6/+4
2023-02-21Merge pull request #216983 from ncfavier/showOption-commentNaïm Favier1-6/+4
lib/options: update showOption comment
2023-02-18lib/options: update showOption commentNaïm Favier1-6/+4
2023-02-15Merge master into staging-nextgithub-actions[bot]1-6/+13
2023-02-15Merge pull request #203539 from SuperSandro2000/architectures-expand-inferiorsSandro1-6/+13
lib/systems/architectures: expand inferiors
2023-02-10Merge staging-next into staginggithub-actions[bot]1-2/+5
2023-02-10Merge pull request #215455 from domenkozar/module-errorsDomen Kožar1-2/+5
nixos: Improve module conflict error messages
2023-02-09types: suggest how to resolve the conflictDomen Kožar1-2/+5
2023-02-09types: explicitly state unique options are expected to be uniqueDomen Kožar1-1/+1
2023-02-07Merge staging-next into staginggithub-actions[bot]3-8/+109
2023-02-07Merge pull request #214930 from sheepforce/nwchemmarkuskowa1-0/+7
nwchem: init at 7.0.2
2023-02-07Merge pull request #208887 from tweag/lib.path.appendSilvan Mosberger2-8/+102
lib.path.append: init
2023-02-07lib/licenses: add ecl20Phillip Seeber1-0/+7
2023-02-07Merge staging-next into staginggithub-actions[bot]3-1/+18
2023-02-07Merge pull request #206611 from h7x4/lib-lists-add-repeatSilvan Mosberger3-1/+18
lib.lists: add `replicate`
2023-02-07Merge staging-next into staginggithub-actions[bot]1-0/+10
2023-02-06Merge pull request #214856 from vamega/bencode-pyBernardo Meurer1-0/+10
2023-02-06lib.lists: add `replicate`h7x43-1/+18
`replicate` returns n copies of an element as a list. Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2023-02-06bencode-py: init at 4.0.0Varun Madiath1-0/+10
2023-02-03Merge pull request #211685 from Artturin/splicingstuff1-splitArtturi1-1/+8
2023-01-31Merge pull request #205557 from ncfavier/concatLinesSilvan Mosberger3-1/+17
lib/strings: add `concatLines`
2023-01-31Merge pull request #213650 from urandom2/libdocSilvan Mosberger3-10/+10
lib: standardise attrset type syntax
2023-01-31Merge master into staging-nextgithub-actions[bot]2-6/+15
2023-01-30lib: standardise attrset type syntaxColin Arnott3-10/+10
There are a number of different syntaxes used for attrset type signatures in our doc strings, this change standardises upon one that uses :: for specifying attribute type, and ; terminators to be consistent with nix syntax. There are no bugs in the functions themselves, just that different syntaxes may confuse new users.
2023-01-30Merge pull request #212939 from amjoseph-nixpkgs/pr/isStaticFlorian Klink2-6/+15
meta: replace predicates with pattern over elaborated platform
2023-01-30lib.systems.inspect.patterns.isEfi: drop ARMv5Alyssa Ross1-2/+7
I'm not aware of any ARMv5 EFI implementation. gnu-efi doesn't support it, so the build of systemd for armv5tel-linux is broken if it's isEfi.
2023-01-30Merge pull request #212282 from hercules-ci/pkg-config-packagesRobert Hensing1-1/+2
defaultPkgConfigPackages: init
2023-01-30lib.hydraJob: Tolerate nullRobert Hensing1-1/+2
By allowing null, we allow code to avoid filterAttrs, improving laziness in real world use cases. Specifically, this strategy prevents infinite recursion errors, performance issues and possibly other errors that are unrelated to the user's code.
2023-01-29lib.systems.inspect.patterns.isEfi: remove "aarch64"Alyssa Ross1-1/+1
There is no "aarch64" CPU family — it counts as "arm", as can be seen from the definition of isAarch64 above. Checked that stdenv.hostPlatform.isEfi is still true on aarch64-linux.
2023-01-27maintainers: clarify what fields are requiredNaïm Favier1-0/+1
2023-01-27maintainers: disallow `noreply.github.com` emailsNaïm Favier1-0/+2
2023-01-27maintainers: make `email` optionalNaïm Favier2-3/+6
Not giving an email address is fine as long as the maintainer is reachable through other means, such as GitHub or Matrix.
2023-01-27Update lib/systems/inspect.nixAdam Joseph1-2/+2
Co-authored-by: Naïm Favier <n@monade.li>
2023-01-27Update lib/systems/inspect.nixAdam Joseph1-1/+1
Co-authored-by: Naïm Favier <n@monade.li>
2023-01-27Update lib/meta.nixAdam Joseph1-1/+1
Co-authored-by: Naïm Favier <n@monade.li>
2023-01-27Update lib/meta.nixAdam Joseph1-1/+1
Co-authored-by: Naïm Favier <n@monade.li>
2023-01-27lib/systems/inspect.nix: add platformPatterns.isStaticAdam Joseph1-0/+10
2023-01-27lib/meta.nix: allow patterns over entire platform, not just `.parsed`Adam Joseph1-1/+5
2023-01-27Revert "lib/meta.nix: platformMatch: allow predicate functions"Adam Joseph1-6/+1
This reverts commit b7d097438b9b0f782a707f3295d320d824810864.
2023-01-25Merge pull request #212189 from ↵Robert Hensing1-2/+7
amjoseph-nixpkgs/pr/lib/mapAttrsRecursive/comment attrsets: clarify that mapAttrs maps over *leaf* attrs
2023-01-25Update lib/attrsets.nixAdam Joseph1-1/+4
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-01-24Merge pull request #212408 from raboof/imapsync-fix-licensePascal Wittmann1-1/+6
imapsync: fix license
2023-01-24licenses: add NLPLArnout Engelen1-1/+6