Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
6 days | Merge pull request #318712 from woojiq/lib-network-ipv6-parser | Janik | 7 | -1/+424 | |
lib.network: add ipv6 parser | |||||
9 days | Merge pull request #324861 from Kranzes/crate2nix | Florian Klink | 1 | -0/+1 | |
lib.systems: Fix setting rust.platform.os for wasm32-unknown-unknown | |||||
9 days | lib/licenses: fix field names | Emily | 1 | -3/+3 | |
12 days | lib.systems: Fix setting rust.platform.os for wasm32-unknown-unknown | Ilan Joselevich | 1 | -0/+1 | |
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. | |||||
2024-07-03 | lib/modules: Memoize remaining lookups into builtins | Robert Hensing | 1 | -11/+17 | |
Similar to the previous commit about lookups into lib Main benefits - consistent - faster - shorter | |||||
2024-07-03 | lib: Expose typeOf, unsafeGetAttrPos | Robert Hensing | 1 | -1/+1 | |
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). | |||||
2024-07-03 | lib/modules: Memoize remaining lookups into lib | Robert Hensing | 1 | -21/+25 | |
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 | |||||
2024-07-03 | lib/modules: Memoize functionArgs lookup | Robert Hensing | 1 | -1/+2 | |
This would also make specialArgs-lib.nix pass. | |||||
2024-07-03 | lib/modules: Memoize addErrorContext lookup | Robert Hensing | 1 | -6/+7 | |
2024-07-03 | lib/modules: Use fixed lib instead of args.lib | Robert Hensing | 3 | -2/+32 | |
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. | |||||
2024-07-01 | lib.types: remove __attrsFailEvaluation | Philip Taron | 1 | -1/+0 | |
The test (`nix-build pkgs/test/release/default.nix`) continues to pass without this preventative measure. | |||||
2024-07-01 | Merge pull request #323657 from wegank/23.11-unmaintained | Jörg Thalheim | 1 | -1/+1 | |
23.11 is unmaintained | |||||
2024-07-01 | lib/trivial: update oldestSupportedRelease | Weijia Wang | 1 | -1/+1 | |
2024-06-30 | Merge pull request #319153 from Kranzes/buildRustCrate-wasm | Florian Klink | 3 | -18/+28 | |
buildRustCrate: add support for compiling to wasm32-unknown-unknown | |||||
2024-06-29 | lib.network: ipv6 parser from string | woojiq | 5 | -0/+381 | |
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. | |||||
2024-06-28 | lib: add fromHexString | lucasew | 3 | -1/+43 | |
Co-authored-by: lucasew <lucas59356@gmail.com> | |||||
2024-06-28 | lib/cli: improve documentation, including arguments (#315820) | Silvan Mosberger | 1 | -36/+71 | |
cli.nix: improve documentation, including arguments | |||||
2024-06-26 | lib: deprecate mkPackageOptionMD | éclairevoyant | 1 | -3/+3 | |
2024-06-26 | lib.meta: refactor to use doc-comments (#313589) | Johannes Kirschbauer | 1 | -74/+285 | |
* doc: use doc-comments for lib.meta * adds missing argument to setPrio | |||||
2024-06-26 | Merge pull request #312412 from hsjobeki/doc/lib-gvariant | Silvan Mosberger | 1 | -91/+314 | |
doc: migrate lib.gvariant to doc-comment format | |||||
2024-06-26 | Merge pull request #312407 from hsjobeki/doc/lib-generators | Silvan Mosberger | 1 | -195/+399 | |
doc: init lib.generators reference documentation | |||||
2024-06-26 | doc: migrate lib.filesystem to doc-comment format (#312222) | Johannes Kirschbauer | 1 | -67/+167 | |
* 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> | |||||
2024-06-26 | Merge pull request #312217 from hsjobeki/doc/lib-derivations | Silvan Mosberger | 1 | -38/+70 | |
doc: migrate lib.derivations to doc-comment format | |||||
2024-06-24 | lib.systems.examples: add wasm32-unknown-none | Ilan Joselevich | 3 | -18/+28 | |
This system was added to use the nixpkgs cross compilation logic when compiling to wasm32-unknown-unknown in rust. | |||||
2024-06-23 | Merge pull request #319139 from NyCodeGHG/android-ndks | Artturin | 1 | -6/+6 | |
android-ndks: add 25, 26 ndks, update default ndk and sdk | |||||
2024-06-22 | Merge pull request #318101 from getchoo/pkgs/gitbutler/init | Aleksana | 1 | -0/+7 | |
gitbutler: init at 0.12.2 | |||||
2024-06-20 | lib: Add a TODO for builtins not available in sub-libraries | Silvan Mosberger | 1 | -3/+3 | |
2024-06-20 | lib.replaceStrings: inherit from lib.strings | Silvan Mosberger | 1 | -2/+1 | |
2024-06-20 | lib.readFile: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.genericClosure: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.pathExists: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.getAttr: inherit from lib.attrsets | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.isString: inherit from lib.strings | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.isList: inherit from lib.lists | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.isInt: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.isBool: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.isAttrs: inherit from lib.attrsets | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.hasAttr: inherit from lib.attrsets | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.elemAt: inherit from lib.lists | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.elem: inherit from lib.lists | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.deepSeq: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.sub: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.add: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.lessThan: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.seq: inherit from lib.trivial | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.listToAttrs: inherit from lib.attrsets | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.substring: inherit from lib.strings | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.head: inherit from lib.lists | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.tail: inherit from lib.lists | Silvan Mosberger | 1 | -2/+2 | |
2024-06-20 | lib.stringLength: inherit from lib.strings | Silvan Mosberger | 1 | -1/+2 | |