| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge pull request #306481 from hercules-ci/lib-builtins-warn•••lib.warn: Use or behave like builtins.warn | Robert Hensing | 2024-07-23 | 1 | -40/+42 |
| |\ |
|
| | * | lib.warn: Update docs•••- Bring up to date
- Give meaning to the metavariables
- Use italics for metavariables (just like the Nix manual)
- Don't abbreviate
- No hard feelings, Val.
| Robert Hensing | 2024-07-23 | 1 | -38/+28 |
| | * | lib.warn: Remove color from the message itself•••This aligns with Nix and makes it more readable.
The prefix still stands out.
| Robert Hensing | 2024-07-16 | 1 | -2/+2 |
| | * | lib.warn: Fix color•••Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
| Robert Hensing | 2024-07-16 | 1 | -1/+1 |
| | * | lib.warn: Say _evaluation_ warning, like builtins.warn | Lorenz Leutgeb | 2024-06-06 | 1 | -2/+2 |
| | * | lib.warn: Use or behave like builtins.warn | Robert Hensing | 2024-04-24 | 1 | -3/+15 |
| * | | lib: add getStatic | Someone Serge | 2024-07-21 | 2 | -1/+30 |
| * | | lib: reflect effective signatures of getOutput functions | Someone Serge | 2024-07-21 | 1 | -16/+18 |
| * | | lib: add getOutput', a nix-lang counterpart of _overrideFirst | Someone Serge | 2024-07-21 | 2 | -3/+74 |
| * | | Merge pull request #323143 from tsandrini/init-mqtt-explorer•••mqtt-explorer: init at 0.4.0-beta.6 | Nikolay Korotkiy | 2024-07-18 | 1 | -0/+6 |
| |\ \ |
|
| | * | | lib/licenses: add cc-by-nd-40 | tsandrini | 2024-07-18 | 1 | -0/+6 |
| * | | | Merge pull request #318712 from woojiq/lib-network-ipv6-parser•••lib.network: add ipv6 parser | Janik | 2024-07-11 | 7 | -1/+424 |
| |\ \ \ |
|
| | * | | | lib.network: ipv6 parser from string•••Add a library function to parse and validate an IPv6 address from a
string. It can parse the first two versions of an IPv6 address according
to https://datatracker.ietf.org/doc/html/rfc4291#section-2.2. The third
form "x:x:x:x:x:x.d.d.d.d" is not yet implemented. Optionally parser can accept prefix length (128 is default).
Add shell script network.sh to test IPv6 parser functionality.
| woojiq | 2024-06-29 | 5 | -0/+381 |
| | * | | | lib: add fromHexString•••Co-authored-by: lucasew <lucas59356@gmail.com>
| lucasew | 2024-06-28 | 3 | -1/+43 |
| * | | | | Merge pull request #324861 from Kranzes/crate2nix•••lib.systems: Fix setting rust.platform.os for wasm32-unknown-unknown | Florian Klink | 2024-07-08 | 1 | -0/+1 |
| |\ \ \ \ |
|
| | * | | | | lib.systems: Fix setting rust.platform.os for wasm32-unknown-unknown•••Previously we would fallback to using `kernel` as the `os` which would
result in using the wrong `os` value (`none`) when actually we want
`unknown`. This seems to be a special case for wasm32-unknown-unknown
and wasm64-unknown-unknown so I extended the if statement to support it.
| Ilan Joselevich | 2024-07-05 | 1 | -0/+1 |
| * | | | | | lib/licenses: fix field names | Emily | 2024-07-08 | 1 | -3/+3 |
| |/ / / / |
|
| * | | | | lib/modules: Memoize remaining lookups into builtins•••Similar to the previous commit about lookups into lib
Main benefits
- consistent
- faster
- shorter
| Robert Hensing | 2024-07-03 | 1 | -11/+17 |
| * | | | | lib: Expose typeOf, unsafeGetAttrPos•••All builtins should be in mirrored in lib, for consistency, as well
as control to let the Nixpkgs pin effect *subtle* improvements in
behavior (such as the foldl' accumulator strictness).
| Robert Hensing | 2024-07-03 | 1 | -1/+1 |
| * | | | | lib/modules: Memoize remaining lookups into lib•••Benefits:
- some lookups happened in the hot path, and will now be slightly faster,
with only a variable lookup and no attribute selection
- it's now harder to accidentally use args.lib aka specialArgs.lib, which
has happened
- shorter
| Robert Hensing | 2024-07-03 | 1 | -21/+25 |
| * | | | | lib/modules: Memoize functionArgs lookup•••This would also make specialArgs-lib.nix pass.
| Robert Hensing | 2024-07-03 | 1 | -1/+2 |
| * | | | | lib/modules: Memoize addErrorContext lookup | Robert Hensing | 2024-07-03 | 1 | -6/+7 |
| * | | | | lib/modules: Use fixed lib instead of args.lib•••The practical use for this should be very limited because I don't
think anyone should change `lib`, let alone change `lib.functionArgs`,
but, but it would be even stranger to rely on `args.lib` (or really
`specialArgs.lib` for what's clearly a behavior of the current
`evalModules`, which uses its own ambient lib for basically everything.
The shadowing of `lib` by `args.lib` here seems to be a small mistake,
which is easy to make.
| Robert Hensing | 2024-07-03 | 3 | -2/+32 |
| * | | | | lib.types: remove __attrsFailEvaluation•••The test (`nix-build pkgs/test/release/default.nix`) continues to pass without this preventative measure.
| Philip Taron | 2024-07-01 | 1 | -1/+0 |
| * | | | | Merge pull request #323657 from wegank/23.11-unmaintained•••23.11 is unmaintained | Jörg Thalheim | 2024-07-01 | 1 | -1/+1 |
| |\ \ \ \ |
|
| | * | | | | lib/trivial: update oldestSupportedRelease | Weijia Wang | 2024-07-01 | 1 | -1/+1 |
| | |/ / / |
|
| * | | | | Merge pull request #319153 from Kranzes/buildRustCrate-wasm•••buildRustCrate: add support for compiling to wasm32-unknown-unknown | Florian Klink | 2024-06-30 | 3 | -18/+28 |
| |\ \ \ \
| |/ / /
|/| | | |
|
| | * | | | lib.systems.examples: add wasm32-unknown-none•••This system was added to use the nixpkgs cross compilation logic when
compiling to wasm32-unknown-unknown in rust.
| Ilan Joselevich | 2024-06-24 | 3 | -18/+28 |
| * | | | | lib/cli: improve documentation, including arguments (#315820)•••cli.nix: improve documentation, including arguments | Silvan Mosberger | 2024-06-28 | 1 | -36/+71 |
| |\ \ \ \ |
|
| | * | | | | cli.nix: improve documentation, including arguments | Rob Pilling | 2024-05-30 | 1 | -36/+71 |
| * | | | | | lib: deprecate mkPackageOptionMD | éclairevoyant | 2024-06-26 | 1 | -3/+3 |
| * | | | | | lib.meta: refactor to use doc-comments (#313589)•••* doc: use doc-comments for lib.meta
* adds missing argument to setPrio | Johannes Kirschbauer | 2024-06-26 | 1 | -72/+283 |
| * | | | | | Merge pull request #312412 from hsjobeki/doc/lib-gvariant•••doc: migrate lib.gvariant to doc-comment format | Silvan Mosberger | 2024-06-26 | 1 | -91/+314 |
| |\ \ \ \ \ |
|
| | * | | | | | doc: migrate lib.gvariant to doc-comment format | Johannes Kirschbauer | 2024-05-17 | 1 | -91/+314 |
| * | | | | | | Merge pull request #312407 from hsjobeki/doc/lib-generators•••doc: init lib.generators reference documentation | Silvan Mosberger | 2024-06-26 | 1 | -193/+397 |
| |\ \ \ \ \ \ |
|
| | * | | | | | | doc: add arguments for toKeyValue | Johannes Kirschbauer | 2024-05-21 | 1 | -2/+14 |
| | * | | | | | | doc: init lib.generators reference documentation | Johannes Kirschbauer | 2024-05-21 | 1 | -193/+385 |
| | |/ / / / / |
|
| * | | | | | | doc: migrate lib.filesystem to doc-comment format (#312222)•••* doc: migrate lib.filesystem to doc-comment format
* defintion list fixes lib/filesystem.nix
Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com>
---------
Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com> | Johannes Kirschbauer | 2024-06-26 | 1 | -67/+167 |
| * | | | | | | Merge pull request #312217 from hsjobeki/doc/lib-derivations•••doc: migrate lib.derivations to doc-comment format | Silvan Mosberger | 2024-06-26 | 1 | -35/+67 |
| |\ \ \ \ \ \
| |_|_|_|/ /
|/| | | | | |
|
| | * | | | | | Apply suggestions from code review•••Co-authored-by: Daniel Sidhion <DanielSidhion@users.noreply.github.com>
| Johannes Kirschbauer | 2024-05-21 | 1 | -16/+16 |
| | * | | | | | doc: migrate lib.derivations to doc-comment format | Johannes Kirschbauer | 2024-05-16 | 1 | -35/+67 |
| | |/ / / / |
|
| * | | | | | Merge pull request #319139 from NyCodeGHG/android-ndks•••android-ndks: add 25, 26 ndks, update default ndk and sdk | Artturin | 2024-06-23 | 1 | -6/+6 |
| |\ \ \ \ \ |
|
| | * | | | | | lib.systems.examples: update default android sdk to 33, ndk to 26 | Marie Ramlow | 2024-06-17 | 1 | -6/+6 |
| * | | | | | | Merge pull request #318101 from getchoo/pkgs/gitbutler/init•••gitbutler: init at 0.12.2 | Aleksana | 2024-06-22 | 1 | -0/+7 |
| |\ \ \ \ \ \ |
|
| | * | | | | | | licenses: add FSL-1.1-MIT | seth | 2024-06-07 | 1 | -0/+7 |
| | | |_|/ / /
| |/| | | | |
|
| * | | | | | | lib: Add a TODO for builtins not available in sub-libraries | Silvan Mosberger | 2024-06-20 | 1 | -3/+3 |
| * | | | | | | lib.replaceStrings: inherit from lib.strings | Silvan Mosberger | 2024-06-20 | 1 | -2/+1 |
| * | | | | | | lib.readFile: inherit from lib.trivial | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | | | | | | lib.genericClosure: inherit from lib.trivial | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |
| * | | | | | | lib.pathExists: inherit from lib.trivial | Silvan Mosberger | 2024-06-20 | 1 | -2/+2 |