| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| | * | | | lib.sanitizeDerivationName: Optimize the common case | Robert Hensing | 2022-03-31 | 1 | -1/+8 |
| * | | | | lib/customization: Improve callPackage error message for missing args•••This uses the levenshtein distance to look through all possible
arguments to find ones that are close to what was requested:
error: Function in /home/infinisil/src/nixpkgs/pkgs/tools/text/ripgrep/default.nix
called without required argument "fetchFromGithub",
did you mean "fetchFromGitHub" or "fetchFromGitLab"?
With https://github.com/NixOS/nix/pull/3468 (in current nixUnstable) the error
message becomes even better, adding line location info
| Silvan Mosberger | 2022-04-01 | 1 | -2/+49 |
| * | | | | lib/tests: Add tests for levenshtein functions | Silvan Mosberger | 2022-04-01 | 1 | -0/+152 |
| * | | | | lib/strings: Add levenshtein distance functions•••Adds some functions related to string similarity:
- lib.strings.commonPrefixLength
- lib.strings.commonSuffixLength
- lib.strings.levenshtein
- lib.strings.levenshteinAtMost
| Silvan Mosberger | 2022-04-01 | 1 | -0/+127 |
| * | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-29 | 1 | -1/+1 |
| |\| | | |
|
| | * | | | Merge pull request #165956 from ncfavier/lib-warn-throw•••lib/trivial: actually expose warnIfNot and throwIf | Robert Hensing | 2022-03-28 | 1 | -1/+1 |
| | |\ \ \ |
|
| | | * | | | lib/trivial: actually expose warnIfNot and throwIf | Naïm Favier | 2022-03-27 | 1 | -1/+1 |
| * | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-28 | 1 | -0/+10 |
| |\| | | | |
|
| | * | | | | Merge pull request #165672 from yoctocell/patatt-init | Sandro | 2022-03-27 | 1 | -0/+5 |
| | |\ \ \ \ |
|
| | | * | | | | lib.licenses: add MIT-0•••<https://spdx.org/licenses/MIT-0.html>
| Xinglu Chen | 2022-03-24 | 1 | -0/+5 |
| | * | | | | | Merge pull request #165597 from ckiee/generaluser-init | Sandro | 2022-03-27 | 1 | -0/+5 |
| | |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | | * | | | | soundfont-generaluser: init at 1.471 | ckie | 2022-03-24 | 1 | -0/+5 |
| | | | |/ /
| | |/| | |
|
| * | | | | | Merge remote-tracking branch 'origin/master' into haskell-updates | sternenseemann | 2022-03-26 | 3 | -38/+6 |
| |\| | | | |
|
| | * | | | | Merge pull request #164651 from Infinisil/remove-optionSet•••lib/modules: Finally remove deprecated types.optionSet | Silvan Mosberger | 2022-03-25 | 3 | -38/+6 |
| | |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | * | | | lib/modules: Finally remove deprecated types.optionSet•••types.optionSet has been deprecated for almost 10 years now
(0e333688cea468a28516bf6935648c03ed62a7bb)! A removal
was already attempted in 2019
(27982b408e465554b8831f492362bc87ed0ec02a), but it was promptly
reinstantiated since some third-party uses were discovered
(f531ce75e4178c6867cc1d0f7fec96b2d5c3f1cb).
It's finally time to remove it for good :)
| Silvan Mosberger | 2022-03-18 | 3 | -38/+6 |
| * | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-25 | 3 | -5/+25 |
| |\| | | | |
|
| | * | | | | Merge pull request #164660 from ncfavier/tests-restrict-arguments•••nixos/testing: restrict arguments to makeTest | Robert Hensing | 2022-03-24 | 3 | -5/+25 |
| | |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | * | | | Merge remote-tracking branch 'upstream/master' into tests-restrict-arguments | Robert Hensing | 2022-03-21 | 23 | -40/+578 |
| | | |\ \ \ |
|
| | | * | | | | lib: Add toFunction | Robert Hensing | 2022-03-21 | 2 | -1/+21 |
| | | * | | | | lib: applyIfFunction -> applyModuleArgsIfFunction | Robert Hensing | 2022-03-21 | 2 | -4/+4 |
| | | | |_|/
| | |/| | |
|
| * | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-23 | 1 | -1/+15 |
| |\| | | | |
|
| | * | | | | Merge pull request #164890 from ncfavier/lib-warn-throw•••lib/trivial: add warnIfNot and throwIf | Silvan Mosberger | 2022-03-22 | 1 | -1/+15 |
| | |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | * | | | lib/trivial: add warnIfNot and throwIf•••Negated versions of warnIf and throwIfNot.
| Naïm Favier | 2022-03-19 | 1 | -1/+15 |
| | | | |/
| | |/| |
|
| * | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-22 | 3 | -2/+47 |
| |\| | | |
|
| | * | | | Merge pull request #163451 from hercules-ci/stop-premature-warnings•••Stop premature warnings, including `nix.settings` migration | Kevin Cox | 2022-03-21 | 3 | -2/+47 |
| | |\ \ \ |
|
| | | * | | | lib.mkRenamedOptionModuleWith: Remove warnWhenRead•••Let's keep things simple and not poke holes in the
improved migration process.
| Robert Hensing | 2022-03-21 | 1 | -9/+1 |
| | | * | | | lib: Add mkRenamedOptionModuleWith•••Adds support for sinceRelease
| Robert Hensing | 2022-03-09 | 3 | -2/+55 |
| * | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-20 | 4 | -12/+277 |
| |\| | | | |
|
| | * | | | | Merge pull request #147077 from Infinisil/updateAttrPaths•••Introduce `lib.updateManyAttrsByPath` | Robert Hensing | 2022-03-19 | 4 | -12/+277 |
| | |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | * | | | lib.attrsets: Introduce updateManyAttrsByPath | Silvan Mosberger | 2022-03-18 | 3 | -2/+214 |
| | | * | | | lib.lists: Use builtins.groupBy for lib.groupBy•••builtins.groupBy is much more performant. It was introduced in
https://github.com/NixOS/nix/pull/5715
| Silvan Mosberger | 2022-03-18 | 2 | -9/+26 |
| | | * | | | lib.attrsets: Introduce showAttrPath | Silvan Mosberger | 2022-03-18 | 3 | -2/+38 |
| * | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-18 | 7 | -6/+89 |
| |\| | | | |
|
| | * | | | | Merge pull request #161158 from a-m-joseph/mips64el-support-first-steps•••mips64el support | John Ericson | 2022-03-17 | 7 | -6/+89 |
| | |\ \ \ \ |
|
| | | * | | | | Ericson2314's suggestion here: https://github.com/NixOS/nixpkgs/pull/161158#d... | Adam Joseph | 2022-03-10 | 2 | -22/+26 |
| | | * | | | | This commit adds only comments to platforms.nix. | Adam Joseph | 2022-03-10 | 1 | -0/+10 |
| | | * | | | | comment: explain why gnuabi64 has a rustc.config but gnuabin32 does not. | Adam Joseph | 2022-03-10 | 1 | -1/+1 |
| | | * | | | | remove float = "hard" from mips entries | Adam Joseph | 2022-03-10 | 1 | -12/+12 |
| | | * | | | | https://github.com/NixOS/nixpkgs/pull/161158#pullrequestreview-903824553 | Adam Joseph | 2022-03-10 | 1 | -12/+12 |
| | | * | | | | lib/systems: add mips64el definitions•••MIPS has a large space of {architecture,abi,endianness}; this commit
adds all of them to lib/systems/platforms.nix so we can be done with
it.
Currently lib/systems/inspect.nix has a single "isMips" predicate,
which is a bit ambiguous now that we will have both mips32 and mips64
support, with the latter having two ABIs. Let's add four new
predicates (isMips32, isMips64, isMips64n32, and isMips64n64) and
treat the now-ambiguous isMips as deprecated in favor of the
more-specific predicates. These predicates are used mainly for
enabling/disabling target-specific workarounds, and it is extremely
rare that a platform-specific workaround is needed, and both mips32
and mips64 need exactly the same workaround.
The separate predicates (isMips64n32 and isMips64n64) for ABI
distinctions are, unfortunately, useful. Boost's user-scheduled
threading (used by nix) does does not currently supports mips64n32,
which is a very desirable ABI on routers since they rarely have
more than 2**32 bytes of DRAM.
| Adam Joseph | 2022-03-10 | 7 | -6/+75 |
| * | | | | | | Merge master into haskell-updates | github-actions[bot] | 2022-03-17 | 11 | -20/+165 |
| |\| | | | | |
|
| | * | | | | | Merge pull request #162271 from Infinisil/warn-no-type•••Throw an error for options without a type | Robert Hensing | 2022-03-16 | 1 | -1/+1 |
| | |\ \ \ \ \ |
|
| | | * | | | | | lib/options: Throw error for options without a type•••Makes all options rendered in the manual throw an error if they don't
have a type specified.
This is a follow-up to #76184
Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
| Janne Heß | 2022-02-28 | 1 | -1/+1 |
| | * | | | | | | Merge pull request #156533 from hercules-ci/issue-146882-transparent-submodul...•••lib.modules: Let module declare options directly in bare submodule | Silvan Mosberger | 2022-03-16 | 10 | -19/+164 |
| | |\ \ \ \ \ \
| | |_|_|_|_|/
| |/| | | | | |
|
| | | * | | | | | lib/modules.nix: Add comment about internal shorthand null value | Robert Hensing | 2022-03-07 | 1 | -0/+3 |
| | | * | | | | | lib/tests/modules: Add test case for duplicate option error file location | Robert Hensing | 2022-03-07 | 2 | -0/+11 |
| | | * | | | | | lib/modules.nix: Move comment to the actual legacy code | Robert Hensing | 2022-03-07 | 1 | -3/+4 |
| | | * | | | | | Revert "lib.modules: Remove redundant fixupOptionType in option injection"•••This reverts commit 6b077c47ff14cb9a4a8f5cb8986fa83ff626c732.
Thanks Infinisil for discovering this problem:
> After a lot of trial and error, trying to prove why fixupOptionType should
> be used here or not, I figured it out: It's needed for the sake of file
> locations in error messages.
| Robert Hensing | 2022-03-07 | 1 | -1/+1 |
| | | * | | | | | lib.modules: Inline a private function•••This should save about four calls per module.
| Robert Hensing | 2022-03-03 | 1 | -7/+7 |
| | | * | | | | | lib.modules: Default shorthandOnlyDefinesConfig to true when null | Robert Hensing | 2022-03-03 | 1 | -1/+5 |