Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-01-31 | Merge pull request #205557 from ncfavier/concatLines | Silvan Mosberger | 3 | -1/+17 | |
lib/strings: add `concatLines` | |||||
2023-01-31 | Merge pull request #213650 from urandom2/libdoc | Silvan Mosberger | 3 | -10/+10 | |
lib: standardise attrset type syntax | |||||
2023-01-31 | Merge master into staging-next | github-actions[bot] | 2 | -6/+15 | |
2023-01-30 | lib: standardise attrset type syntax | Colin Arnott | 3 | -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-30 | Merge pull request #212939 from amjoseph-nixpkgs/pr/isStatic | Florian Klink | 2 | -6/+15 | |
meta: replace predicates with pattern over elaborated platform | |||||
2023-01-30 | lib.systems.inspect.patterns.isEfi: drop ARMv5 | Alyssa Ross | 1 | -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-30 | Merge pull request #212282 from hercules-ci/pkg-config-packages | Robert Hensing | 1 | -1/+2 | |
defaultPkgConfigPackages: init | |||||
2023-01-30 | lib.hydraJob: Tolerate null | Robert Hensing | 1 | -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-29 | lib.systems.inspect.patterns.isEfi: remove "aarch64" | Alyssa Ross | 1 | -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-27 | maintainers: clarify what fields are required | Naïm Favier | 1 | -0/+1 | |
2023-01-27 | maintainers: disallow `noreply.github.com` emails | Naïm Favier | 1 | -0/+2 | |
2023-01-27 | maintainers: make `email` optional | Naïm Favier | 2 | -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-27 | Update lib/systems/inspect.nix | Adam Joseph | 1 | -2/+2 | |
Co-authored-by: Naïm Favier <n@monade.li> | |||||
2023-01-27 | Update lib/systems/inspect.nix | Adam Joseph | 1 | -1/+1 | |
Co-authored-by: Naïm Favier <n@monade.li> | |||||
2023-01-27 | Update lib/meta.nix | Adam Joseph | 1 | -1/+1 | |
Co-authored-by: Naïm Favier <n@monade.li> | |||||
2023-01-27 | Update lib/meta.nix | Adam Joseph | 1 | -1/+1 | |
Co-authored-by: Naïm Favier <n@monade.li> | |||||
2023-01-27 | lib/systems/inspect.nix: add platformPatterns.isStatic | Adam Joseph | 1 | -0/+10 | |
2023-01-27 | lib/meta.nix: allow patterns over entire platform, not just `.parsed` | Adam Joseph | 1 | -1/+5 | |
2023-01-27 | Revert "lib/meta.nix: platformMatch: allow predicate functions" | Adam Joseph | 1 | -6/+1 | |
This reverts commit b7d097438b9b0f782a707f3295d320d824810864. | |||||
2023-01-25 | Merge pull request #212189 from ↵ | Robert Hensing | 1 | -2/+7 | |
amjoseph-nixpkgs/pr/lib/mapAttrsRecursive/comment attrsets: clarify that mapAttrs maps over *leaf* attrs | |||||
2023-01-25 | Update lib/attrsets.nix | Adam Joseph | 1 | -1/+4 | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> | |||||
2023-01-24 | Merge pull request #212408 from raboof/imapsync-fix-license | Pascal Wittmann | 1 | -1/+6 | |
imapsync: fix license | |||||
2023-01-24 | licenses: add NLPL | Arnout Engelen | 1 | -1/+6 | |
2023-01-23 | Merge pull request #209769 from LoveIsGrief/simple-dlna-browser | Sandro | 1 | -0/+6 | |
2023-01-22 | attrsets: clarify that mapAttrs maps over *leaf* attrs | Adam Joseph | 1 | -2/+4 | |
2023-01-22 | lib/meta.nix: platformMatch: allow predicate functions | Adam Joseph | 1 | -1/+6 | |
2023-01-20 | Merge pull request #210976 from clhodapp/fix/extensible-sets | Robert Hensing | 1 | -2/+2 | |
lib: make extender available on self-references | |||||
2023-01-19 | Merge pull request #211622 from alyssais/valgrind-platforms | John Ericson | 3 | -0/+10 | |
valgrind: make meta.platforms more accurate | |||||
2023-01-19 | lib.platforms.s390x: init | Alyssa Ross | 3 | -0/+3 | |
2023-01-19 | lib.platforms.power: init | Alyssa Ross | 2 | -0/+2 | |
2023-01-19 | lib.platforms.armv7: init | Alyssa Ross | 3 | -0/+5 | |
2023-01-18 | lib/tests/release.nix: Make nix a parameter + strictDeps | Robert Hensing | 1 | -3/+7 | |
This makes bisecting nix a bit easier. Example reproducer, invoked from nix directory: ```bash nix-build ../nixpkgs/lib/tests/release.nix --arg nix '(builtins.getFlake "git+file://${toString ./.}").packages.x86_64-linux.default' ``` | |||||
2023-01-15 | lib: make extender available on self-references | Chris Hodapp | 1 | -2/+2 | |
2023-01-13 | Merge pull request #184521 from dramforever/riscv-isefi | Nick Cao | 1 | -1/+1 | |
lib/systems/inspect.nix: Add riscv to isEfi | |||||
2023-01-11 | check-meta(hasUnsupportedPlatform): use lib.meta.availableOn | Adam Joseph | 1 | -3/+1 | |
`hasUnsupportedPlatform` was not updated with #37395, so it does not understand attrsets in `meta.[bad]platforms`. In particular, attrsets in `meta.badPlatforms` will "fail open" and be ignored. Let's use `lib.meta.availableOn` instead of duplicating its logic. Thanks to @alyssais for [noticing][1]. [1][https://github.com/NixOS/nixpkgs/pull/194148#discussion_r990817610] Co-authored-by: sternenseemann <sternenseemann@systemli.org> | |||||
2023-01-11 | lib/meta(availableOn): handle missing meta and empty meta.platform | Adam Joseph | 1 | -2/+5 | |
2023-01-10 | lib/licenses add Fair license | LoveIsGrief | 1 | -0/+6 | |
2023-01-10 | Merge pull request #209974 from amjoseph-nixpkgs/pr/close/209952 | Artturi | 1 | -4/+8 | |
2023-01-10 | lib/path/tests: Fix property tests when "-n" is generated | Silvan Mosberger | 1 | -1/+1 | |
When "-n" is generated by the property tests, it causes `echo` to not output the string since it's interpreted as an option. Apparently there's no good way to print "-n" with `echo` [1], so switching to `printf` instead [1]: https://unix.stackexchange.com/questions/85846/how-can-i-print-n-with-echo | |||||
2023-01-09 | add mipsisa{32,64}r6[el], closes 209952 | Adam Joseph | 1 | -4/+8 | |
2023-01-08 | lib/modules: make `mkAliasOptionModule` emit DocBook | Naïm Favier | 1 | -3/+5 | |
Follow-up to https://github.com/NixOS/nixpkgs/pull/208407 Removing `mdDoc` isn't enough, we need to emit actual DocBook. | |||||
2023-01-05 | Merge pull request #208674 from YoshiRulz/yoshi-lib-docs | Silvan Mosberger | 5 | -26/+26 | |
lib: Fix mismatched quotes in `lib.*` doc comments | |||||
2023-01-05 | lib/modules: hide _module.args docs | pennae | 1 | -0/+5 | |
unfortunately we can't unconditionally make this text markdown without impacting downstream users of docs generation (as noted in #175586). hide it entirely until the transition is complete. | |||||
2023-01-05 | modules: add mkPackageOptionMD | pennae | 2 | -2/+7 | |
another transitional option factory, like mkAliasOptionModuleMD. | |||||
2023-01-05 | modules: add mkAliasOptionModuleMD | pennae | 2 | -3/+13 | |
mkAliasOptionModule should not default to mdDoc descriptions because that can break out-of-tree users of documentation infrastructure. add an explicitly-MD variant for now, to be removed some time after the MD transition is complete. | |||||
2023-01-03 | Merge pull request #205190 from NixOS/lib.path.relativeNormalise | Robert Hensing | 9 | -1/+881 | |
lib.path.subpath.{isValid,normalise}: init | |||||
2023-01-03 | lib.path.subpath.normalise: add property tests | Silvan Mosberger | 4 | -0/+310 | |
2023-01-03 | lib.path.subpath.normalise: init | Silvan Mosberger | 2 | -0/+192 | |
2023-01-03 | lib.path.subpath.isValid: init | Silvan Mosberger | 5 | -1/+183 | |
The first path library function | |||||
2023-01-03 | lib.path: init README.md document | Silvan Mosberger | 1 | -0/+196 | |
Adds initial work towards a `lib.path` library Originally proposed in https://github.com/NixOS/nixpkgs/pull/200718, but has since gone through some revisions Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io> Co-Authored-By: Robert Hensing <robert@roberthensing.nl> |