summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge master into staging-nextgithub-actions[bot]2023-02-26
|\
| * lib/options: Add more options to mkPackageOptionAnselm Schüler2023-02-26
| |
* | Merge master into staging-nextgithub-actions[bot]2023-02-23
|\|
| * lib.licenses.asl20-llvm: replace llvm-exceptionAlyssa Ross2023-02-23
| | | | | | | | | | | | 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.
* | Merge master into staging-nextgithub-actions[bot]2023-02-23
|\|
| * improves: comprehensivenesshsjobeki2023-02-23
| |
| * add better documentation comments to lib.runTestshsjobeki2023-02-23
| |
* | Merge master into staging-nextgithub-actions[bot]2023-02-21
|\|
| * Merge pull request #216983 from ncfavier/showOption-commentNaïm Favier2023-02-21
| |\ | | | | | | lib/options: update showOption comment
| | * lib/options: update showOption commentNaïm Favier2023-02-18
| | |
* | | Merge master into staging-nextgithub-actions[bot]2023-02-15
|\| |
| * | Merge pull request #203539 from SuperSandro2000/architectures-expand-inferiorsSandro2023-02-15
| |\ \ | | |/ | |/| lib/systems/architectures: expand inferiors
| | * lib/systems/architectures: expand inferiorsSandro Jäckel2022-11-29
| | |
* | | Merge staging-next into staginggithub-actions[bot]2023-02-10
|\| |
| * | Merge pull request #215455 from domenkozar/module-errorsDomen Kožar2023-02-10
| |\ \ | | | | | | | | nixos: Improve module conflict error messages
| | * | types: suggest how to resolve the conflictDomen Kožar2023-02-09
| | | |
| | * | types: explicitly state unique options are expected to be uniqueDomen Kožar2023-02-09
| | | |
* | | | Merge staging-next into staginggithub-actions[bot]2023-02-07
|\| | |
| * | | Merge pull request #214930 from sheepforce/nwchemmarkuskowa2023-02-07
| |\ \ \ | | | | | | | | | | nwchem: init at 7.0.2
| | * | | lib/licenses: add ecl20Phillip Seeber2023-02-07
| | | | |
| * | | | Merge pull request #208887 from tweag/lib.path.appendSilvan Mosberger2023-02-07
| |\ \ \ \ | | |/ / / | |/| | | lib.path.append: init
| | * | | lib.path.append: initSilvan Mosberger2023-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | This function can be used to append strings to Nix path values in a safe way.
| | * | | lib.path: Minor improvementsSilvan Mosberger2023-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use isValid when possible instead of subpathInvalidReason: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068714681 - Add documentation to function arguments - Use newlines for error messages: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1069737602 - Add short comments for the unit test groups: https://github.com/NixOS/nixpkgs/pull/208887#discussion_r1072913051 - Slight formatting improvement for laws: https://github.com/NixOS/nixpkgs/pull/209099#discussion_r1068707955
* | | | | Merge staging-next into staginggithub-actions[bot]2023-02-07
|\| | | |
| * | | | Merge pull request #206611 from h7x4/lib-lists-add-repeatSilvan Mosberger2023-02-07
| |\ \ \ \ | | | | | | | | | | | | lib.lists: add `replicate`
| | * | | | lib.lists: add `replicate`h7x42023-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `replicate` returns n copies of an element as a list. Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
* | | | | | Merge staging-next into staginggithub-actions[bot]2023-02-07
|\| | | | |
| * | | | | Merge pull request #214856 from vamega/bencode-pyBernardo Meurer2023-02-06
| |\ \ \ \ \ | | |_|_|/ / | |/| | | |
| | * | | | bencode-py: init at 4.0.0Varun Madiath2023-02-06
| | | | | |
* | | | | | Merge pull request #211685 from Artturin/splicingstuff1-splitArtturi2023-02-03
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | lib.extendDerivation: Fix interaction between output selection and overrideAttrsRobert Hensing2023-01-20
| | | | | |
* | | | | | Merge pull request #205557 from ncfavier/concatLinesSilvan Mosberger2023-01-31
|\ \ \ \ \ \ | | | | | | | | | | | | | | lib/strings: add `concatLines`
| * | | | | | lib/strings: add `concatLines`Naïm Favier2022-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like `unlines` from Haskell. The aim is to replace the `concatStringsSep "\n"` pattern for generated files, which doesn't add a final newline.
* | | | | | | Merge pull request #213650 from urandom2/libdocSilvan Mosberger2023-01-31
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | lib: standardise attrset type syntax
| * | | | | | | lib: standardise attrset type syntaxColin Arnott2023-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge master into staging-nextgithub-actions[bot]2023-01-31
|\| | | | | | |
| * | | | | | | Merge pull request #212939 from amjoseph-nixpkgs/pr/isStaticFlorian Klink2023-01-30
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | meta: replace predicates with pattern over elaborated platform
| | * | | | | | | Update lib/systems/inspect.nixAdam Joseph2023-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Naïm Favier <n@monade.li>
| | * | | | | | | Update lib/systems/inspect.nixAdam Joseph2023-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Naïm Favier <n@monade.li>
| | * | | | | | | Update lib/meta.nixAdam Joseph2023-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Naïm Favier <n@monade.li>
| | * | | | | | | Update lib/meta.nixAdam Joseph2023-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Naïm Favier <n@monade.li>
| | * | | | | | | lib/systems/inspect.nix: add platformPatterns.isStaticAdam Joseph2023-01-27
| | | | | | | | |
| | * | | | | | | lib/meta.nix: allow patterns over entire platform, not just `.parsed`Adam Joseph2023-01-27
| | | | | | | | |
| | * | | | | | | Revert "lib/meta.nix: platformMatch: allow predicate functions"Adam Joseph2023-01-27
| | | |_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | This reverts commit b7d097438b9b0f782a707f3295d320d824810864.
* | / | | | | | lib.systems.inspect.patterns.isEfi: drop ARMv5Alyssa Ross2023-01-30
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Merge pull request #212282 from hercules-ci/pkg-config-packagesRobert Hensing2023-01-30
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | defaultPkgConfigPackages: init
| * | | | | | | lib.hydraJob: Tolerate nullRobert Hensing2023-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | lib.systems.inspect.patterns.isEfi: remove "aarch64"Alyssa Ross2023-01-29
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | maintainers: clarify what fields are requiredNaïm Favier2023-01-27
| | | | | | |
* | | | | | | maintainers: disallow `noreply.github.com` emailsNaïm Favier2023-01-27
| | | | | | |