Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-10-10 | treewide: optional -> optionals where the argument is a list | Artturin | 1 | -1/+1 | |
the argument to optional should not be list | |||||
2022-10-09 | Merge staging-next into staging | github-actions[bot] | 1 | -0/+5 | |
2022-10-09 | Merge master into staging-next | github-actions[bot] | 1 | -0/+5 | |
2022-10-09 | licenses: add libssh2 license | Weijia Wang | 1 | -0/+5 | |
2022-10-07 | lib.closePropagation: Remove the quadratic behavior in lib.closePropagation | Guillaume Bouchard | 1 | -1/+30 | |
The code of `lib.closePropagation` was internally using a recursion on the dependencies and returns all the derivation directly or indirectly referenced by buildInputs. `lib.closeProgation` is implemented in pure nix and uses an unique function for list which is quadratic and does "true" equality, which needs deep set comparison. Instead, we use the `builtins.genericClosure` which is implemented as a builtin and uses a more efficient sorting feature. Note that `genericClosure` needs a `key` to discriminate the values, we used the `outPath` which is unique and orderable. On benchmarks, it performs up to 15x time faster on a benchmark related to haskellPackages.ghcWithPackages. | |||||
2022-10-05 | Merge remote-tracking branch 'origin/master' into staging-next | Martin Weinelt | 1 | -0/+5 | |
2022-10-03 | Merge pull request #188265 from steveeJ-forks/pr-holochain-launcher-bin | Sandro | 1 | -0/+5 | |
2022-10-02 | Merge master into staging-next | github-actions[bot] | 6 | -17/+4 | |
2022-10-01 | Merge pull request #193132 from figsoda/clean-up | figsoda | 6 | -17/+4 | |
treewide: clean up | |||||
2022-09-29 | Merge master into staging-next | github-actions[bot] | 2 | -0/+13 | |
2022-09-29 | lib/systems/default.nix: add efiArch suffixes | Ivan Nikolaenko | 1 | -0/+8 | |
Move already implemented functionality to the upper level so it could be used in a more generic way. Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com> | |||||
2022-09-28 | lib.generators: simplify toYAML | figsoda | 1 | -1/+1 | |
2022-09-28 | Merge pull request #192650 from drupol/add-sphinx-contrib-mscgen | Martin Weinelt | 1 | -0/+5 | |
2022-09-28 | Merge staging-next into staging | github-actions[bot] | 6 | -1/+180 | |
2022-09-28 | licenses: add BOLA license | Pol Dellaiera | 1 | -0/+5 | |
2022-09-28 | Merge pull request #191540 from hercules-ci/nixosTest-modular | Robert Hensing | 6 | -1/+180 | |
nixosTest: make modular | |||||
2022-09-26 | lib/tests/maintainers.nix: remove unused binding | figsoda | 1 | -1/+0 | |
2022-09-26 | lib/types.nix: remove unused bindings | figsoda | 1 | -2/+0 | |
2022-09-26 | lib/sources.nix: remove unused binding | figsoda | 1 | -1/+0 | |
2022-09-26 | lib/options.nix: remove unused binding | figsoda | 1 | -1/+0 | |
2022-09-26 | lib/modules.nix: remove unused bindings | figsoda | 1 | -9/+1 | |
2022-09-26 | lib/generators.nix: remove unused bindings | figsoda | 1 | -2/+2 | |
2022-09-26 | Merge staging-next into staging | github-actions[bot] | 2 | -2/+17 | |
2022-09-25 | lib/types.nix: Document that it should not be used | piegames | 1 | -2/+16 | |
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> | |||||
2022-09-25 | Merge branch 'amjoseph-nixpkgs-pr/resume182058' into staging | toonn | 1 | -0/+14 | |
2022-09-25 | unionOfDisjoint: use builtins.intersectAttrs | Adam Joseph | 1 | -5/+8 | |
This brings two benefits: 1. The complete list of collisions is printed in the whenever any colliding attribute is accessed. 2. The sets are intersected using a C++ primitive, which runs in O(n) time (intersecting pre-sorted lists) with small constants rather than interpreted Nix code. Thanks to @toonn for prompting this improvement. | |||||
2022-09-24 | Merge pull request #189836 from erikarvstedt/options-definitionsWithLocations | Robert Hensing | 1 | -0/+1 | |
lib/modules: add `definitionsWithLocations` to evaluated options | |||||
2022-09-21 | lib/modules: Fix meta duplication in shorthand syntax | Robert Hensing | 3 | -1/+24 | |
2022-09-21 | lib: Add lazyDerivation | Robert Hensing | 3 | -0/+156 | |
2022-09-17 | lib.types: Add parentheses where description is ambiguous | Robert Hensing | 2 | -13/+122 | |
2022-09-15 | lib.licenses: add CAL-1.0 | Stefan Junker | 1 | -0/+5 | |
2022-09-13 | Merge pull request #189314 from Artturin/addemulatoravailable | Artturi | 1 | -30/+39 | |
2022-09-12 | note that `unionOfDisjoint` is commutative, unlike // | Adam Joseph | 1 | -1/+2 | |
2022-09-12 | lib/attrsets.nix: add unionOfDisjoint | Adam Joseph | 1 | -0/+10 | |
2022-09-11 | lib/systems: add emulatorAvailable | Artturin | 1 | -30/+39 | |
``` nix-repl> pkgsCross.arm-embedded.stdenv.hostPlatform.emulatorAvailable pkgsCross.arm-embedded.buildPackages false nix-repl> pkgsCross.aarch64-multiplatform.stdenv.hostPlatform.emulatorAvailable pkgsCross.aarch64-multiplatform.buildPackages true ``` will be useful for stuff like handling https://github.com/NixOS/nixpkgs/issues/187109 | |||||
2022-09-10 | lib/options: deprecate docbook text and literalDocBook | pennae | 1 | -1/+4 | |
deprecate literalDocBook by adding a warning (that will not fire yet) to its uses and other docbook literal strings by adding optional warning message to mergeJSON. | |||||
2022-09-09 | Merge pull request #181834 from ncfavier/numbers | Silvan Mosberger | 1 | -9/+33 | |
lib/types: add `number` | |||||
2022-09-06 | lib/systems: uname.processor is "uname -m", not "uname -p" (#189958) | Adam Joseph | 1 | -1/+1 | |
The comment in lib/systems/default.nix for uname.processor indicates that it should match `uname -p`. I tried that command and found that it reports `unknown` on all of these machines: - `x86_64-linux` - `aarch64-linux` - `mips64el-linux` - `powerpc64le-linux` The command `uname -m` reports the expected value on all of the above. I think the comment is wrong. So I fixed it. | |||||
2022-09-05 | lib/modules: add `definitionsWithLocations` to evaluated options | Erik Arvstedt | 1 | -0/+1 | |
This attr provides the location of each definition. This is particularly useful for introspecting options of type `attrsOf`. E.g., it allows finding the location of a systemd service definition by parsing `options.systemd.services.definitionsWithLocations`. | |||||
2022-09-05 | Merge pull request #161118 from arkivm/init-dwarf2json | Jonas Heinrich | 1 | -0/+5 | |
dwarf2json: init at unstable-2021-04-15 | |||||
2022-09-01 | Merge branch 'master' into option-docs-md | pennae | 7 | -6/+32 | |
2022-08-31 | lib/modules: convert option description to MD | pennae | 2 | -78/+44 | |
2022-08-31 | Merge pull request #188289 from erikarvstedt/fix-disabled-modules-abs-paths | Robert Hensing | 3 | -1/+9 | |
lib.modules: support strings with absolute paths in `disabledModules` | |||||
2022-08-31 | lib.modules: support strings with absolute paths in `disabledModules` | Erik Arvstedt | 3 | -1/+9 | |
This is particularly useful for disabling modules defined in a flake. Example: disabledModules = [ "${flake}/modules/mymodule.nix" ]; Previously, absolute string paths were internally prepended with `modulesPath`, which caused the module filtering to fail. | |||||
2022-08-30 | lib/options: add mdDoc support to mkEnableOption | pennae | 1 | -1/+4 | |
2022-08-28 | lib/systems/doubles: add ELFvx GNU ABIs | Minijackson | 1 | -1/+3 | |
2022-08-28 | lib/systems: add convenience isAbiElfv2 function | Minijackson | 1 | -0/+7 | |
2022-08-28 | lib/systems/examples: use provided ABIs in PPC64 triple | Minijackson | 1 | -3/+2 | |
2022-08-28 | lib/systems/parse: use ELFv2 by default for PPC64 BE | Minijackson | 1 | -0/+2 | |
2022-08-28 | lib/systems: add elfv1 / elfv2 ABIs | Minijackson | 2 | -1/+9 | |