| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge pull request #103884 from djanatyn/pkg/xlife | Sandro | 2020-11-26 | 1 | -0/+5 |
| |\ |
|
| | * | licenses: add HPND-sell-variant | Jonathan Strickland | 2020-11-15 | 1 | -0/+5 |
| * | | Merge pull request #102503 from siraben/remarkable-init•••Initial implementation of remarkable1 cross-compile | John Ericson | 2020-11-24 | 2 | -0/+19 |
| |\ \ |
|
| | * | | Initial implementation of remarkable1 cross-compile | Ben Siraphob | 2020-11-23 | 2 | -0/+19 |
| * | | | lib.lists.unique: Switch from recursive function to using a fold•••This improves performance by ~30-40% for smaller test cases and makes
larger cases where my laptop would OOM pass in seconds.
| adisbladis | 2020-11-24 | 1 | -7/+1 |
| |/ / |
|
| * | | lib: Create `makeScopeWithSplicing`•••It's ugly as hell, but I suppose it is needed to codify how to make
spliced package sets.
| John Ericson | 2020-11-19 | 2 | -1/+28 |
| * | | Merge master into staging-next | Frederik Rietdijk | 2020-11-16 | 8 | -19/+64 |
| |\ \ |
|
| | * \ | Merge pull request #102766 from siraben/mmix•••Initial implementation of cross-compilation to Knuth's MMIX | John Ericson | 2020-11-14 | 5 | -16/+32 |
| | |\ \ |
|
| | | * | | Initial implementation of mmix cross-compile | Ben Siraphob | 2020-11-09 | 5 | -16/+32 |
| | * | | | lib: Add composeManyExtensions | Joe Hermaszewski | 2020-11-13 | 3 | -3/+32 |
| | | |/
| |/| |
|
| * | | | Merge staging-next into staging | Frederik Rietdijk | 2020-11-11 | 1 | -2/+6 |
| |\| | |
|
| | * | | Merge pull request #44928 from vcunat/p/configure-assert•••lib/strings: guard against an easy mistake | Eelco Dolstra | 2020-11-11 | 1 | -2/+6 |
| | |\ \ |
|
| | | * | | lib/strings: guard against an easy mistake•••This would catch the bad `fwknop` flags fixed in 580cab57e4,
during evaluation already.
| Vladimír Čunát | 2018-08-12 | 1 | -2/+6 |
| * | | | | Initial support for OpenRISC 1000 (or1k) | Samuel Dionne-Riel | 2020-11-09 | 4 | -0/+11 |
| |/ / / |
|
| * | / | lib/sources.nix: fix incorrect inherit•••split comes from builtins, not lib.
error: attribute 'split' missing, at /nix/path/nixpkgs/lib/sources.nix:4:4
(use '--show-trace' to show detailed location information)
| V | 2020-10-30 | 1 | -1/+1 |
| | |/
|/| |
|
| * | | lib/types.nix: fix missing inherit•••I think there was a silent (i.e. semantic) merge conflict between PR #101139 and
PR #100456. This commit should fix the error, which manifests as follows:
error: undefined variable 'boolToString' at /home/kkini/src/nixpkgs/lib/types.nix:552:42
| Keshav Kini | 2020-10-26 | 1 | -0/+3 |
| * | | Merge pull request #101139 from roberth/lib-use-static-scope-checking•••lib: Use Nix's static scope checking, fix error message, optimize | Robert Hensing | 2020-10-26 | 9 | -86/+265 |
| |\ \ |
|
| | * | | lib/sources.nix: Prefer lib for readFile inherit | Robert Hensing | 2020-10-22 | 1 | -1/+1 |
| | * | | lib: Add lib.trace for consistency•••This puts it among the trace* family of functions derived from it.
| Robert Hensing | 2020-10-22 | 1 | -1/+1 |
| | * | | lib/modules: Simplify inherits | Robert Hensing | 2020-10-22 | 1 | -34/+32 |
| | * | | lib: Add lib.isFloat for consistency•••Unlike the other three is* functions in lib.trivial, it was only
available as lib.trivial.isFloat
| Robert Hensing | 2020-10-22 | 1 | -1/+1 |
| | * | | lib/options.nix: Use merge-friendly inherit syntax | Robert Hensing | 2020-10-22 | 1 | -5/+30 |
| | * | | lib: Use Nix's static scope checking, fix error message, optimize•••Nix can perform static scope checking, but whenever code is inside
a `with` expression, the analysis breaks down, because it can't
know statically what's in the attribute set whose attributes were
brought into scope. In those cases, Nix has to assume that
everything works out.
Except it doesnt. Removing `with` from lib/ revealed an undefined
variable in an error message.
If that doesn't convince you that we're better off without `with`,
I can tell you that this PR results in a 3% evaluation performance
improvement because Nix can look up local variables by index.
This adds up with applications like the module system.
Furthermore, removing `with` makes the binding site of each
variable obvious, which helps with comprehension.
| Robert Hensing | 2020-10-22 | 9 | -82/+238 |
| | * | | lib/types.nix: Use // instead of mergeAttrs | Robert Hensing | 2020-10-22 | 1 | -1/+1 |
| | * | | lib/options.nix: Use head instead of elemAt _ 0 | Robert Hensing | 2020-10-22 | 1 | -1/+1 |
| * | | | Merge pull request #101409 from rycee/dbus-warning | Gabriel Ebner | 2020-10-25 | 1 | -1/+1 |
| |\ \ \ |
|
| | * | | | docs: update documentation of `mkRemovedOptionModule`•••Since b08b0bcbbec77046e5a7082177cedc12fbf1dc6c, the function actually
causes an assertion error, not a warning.
| Robert Helgesson | 2020-10-24 | 1 | -1/+1 |
| | |/ / |
|
| * | | | Merge pull request #100456 from maralorn/boolToString•••treewide: De-inline uses of lib.boolToString | Andreas Rammhold | 2020-10-25 | 1 | -1/+1 |
| |\ \ \
| |/ /
|/| | |
|
| | * | | treewide: De-inline uses of lib.boolToString•••This commit should not change eval results
| Malte Brandy | 2020-10-14 | 1 | -1/+1 |
| * | | | Merge pull request #100953 from AtnNn/splitStrings•••Implement splitString using builtins.split | Silvan Mosberger | 2020-10-20 | 2 | -21/+28 |
| |\ \ \ |
|
| | * | | | lib.splitString: use builtin.split | Etienne Laurin | 2020-10-18 | 2 | -21/+28 |
| | |/ / |
|
| * | | | lib: Add readTree function to filesystem•••Add a friendly function to easily return a flattened list of files
within a directory.
This is useful if you want to easily iterate or concatSep the list of
files all found within a directory.
(i.e. when constructing Java's CLASSPATH)
Style improvements
Co-authored-by: Silvan Mosberger <github@infinisil.com>
| Farid Zakaria | 2020-10-19 | 1 | -0/+12 |
| * | | | Merge branch 'master' into staging-next•••Quite many rebuilds from master:
> Estimating rebuild amount by counting changed Hydra jobs.
> 3926 x86_64-darwin
> 4645 x86_64-linux
| Vladimír Čunát | 2020-10-10 | 3 | -1/+24 |
| |\| | |
|
| | * | | Merge pull request #96641 from zimbatm/data-module-imports•••nixos: Data module imports | zimbatm | 2020-10-09 | 3 | -1/+24 |
| | |\ \ |
|
| | | * | | lib: allow to import JSON and TOML files•••The vision here is that configuration tools can generate .json or .toml
files, which can be plugged into an existing configuration.
Eg:
{ lib, ... }:
{
imports = [
(lib.modules.importJSON ./hardware-configuration.json)
];
}
| zimbatm | 2020-09-12 | 1 | -0/+17 |
| | | * | | lib: add importTOML•••Complements the `lib.importJSON`. `builtins.readTOML` has been
introduced in Nix 2.1.
| zimbatm | 2020-09-12 | 2 | -1/+7 |
| * | | | | Merge staging-next into staging | Frederik Rietdijk | 2020-10-06 | 1 | -0/+1 |
| |\| | | |
|
| | * | | | lib/types: Fix type description of bool enum values•••Previously bool values would show as <bool>
| Silvan Mosberger | 2020-10-03 | 1 | -0/+1 |
| * | | | | Merge branch 'staging-next' into staging | Jan Tojnar | 2020-09-24 | 4 | -33/+55 |
| |\| | | |
|
| | * | | | lib/tests: Update for error message changes | Silvan Mosberger | 2020-09-21 | 1 | -12/+12 |
| | * | | | lib/tests: Allow grepping for newlines in error messages | Silvan Mosberger | 2020-09-21 | 1 | -1/+1 |
| | * | | | lib/modules: Evaluate single defs for readOnly error•••If multiple definitions are passed, this evaluates them all as if they
were the only one, for a better error message. In particular this won't
show module-internal properties like `_type = "override"` and co.
| Silvan Mosberger | 2020-09-21 | 1 | -1/+7 |
| | * | | | lib/modules: Improve error messages using showDefs | Silvan Mosberger | 2020-09-21 | 2 | -10/+10 |
| | * | | | lib/options: Introduce showDefs•••For pretty-printing definitions, including file and values
| Silvan Mosberger | 2020-09-21 | 1 | -0/+18 |
| | * | | | lib/types: Remove unreachable if branch•••The type's check function already ensured that it can't be passed
non-lists
| Silvan Mosberger | 2020-09-21 | 1 | -10/+8 |
| * | | | | Merge staging-next into staging | Frederik Rietdijk | 2020-09-22 | 11 | -27/+310 |
| |\| | | |
|
| | * | | | Merge pull request #97133 from Infinisil/improved-toPretty•••Improve `generators.toPretty` | Silvan Mosberger | 2020-09-21 | 2 | -27/+104 |
| | |\ \ \ |
|
| | | * | | | lib/generators.toPretty: functors should print as functions•••Not attribute sets. So move the function case forward
| Silvan Mosberger | 2020-09-17 | 1 | -7/+7 |
| | | * | | | lib/generators.toPretty: Print [] and {} compactly | Silvan Mosberger | 2020-09-17 | 2 | -2/+9 |
| | | * | | | lib/generators.toPretty: Switch away from δ and λ•••- These symbols can be confusing for those not familiar with them
- There's no harm in making these more obvious
- Terminals may not print them correctly either
Also changes the function argument printing slightly to be more obvious
| Silvan Mosberger | 2020-09-17 | 2 | -12/+13 |