Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-12-08 | Merge pull request #101248 from makefu/pkgs/pfsshell/init | Sandro | |
2020-12-05 | lib/string: drop redundant string in description of toInt. | Alex Brandt | |
Describing the string argument as a string is redundant and not needed to describe what this function does. | |||
2020-12-04 | lib/strings: fix typo in example | Alex Brandt | |
The example refers to a snake_case function name but Nix uses camelCase function names. This ensures the example is correct for the given function. | |||
2020-12-03 | lib/strings: fix examples for enableFeatureAs | Alex Brandt | |
The As was missing in the examples on this library function. This will ensure the examples refer to the function they document. | |||
2020-12-02 | Merge pull request #105294 from Ericson2314/platform-config-improvements | John Ericson | |
Platform config improvements | |||
2020-12-01 | Merge pull request #105432 from tadfisher/remarkable-2-cross | John Ericson | |
Cross-compile configuration for reMarkable 2 tablet | |||
2020-12-01 | licenses: Add Academic Free License version 2.0 | makefu | |
2020-11-30 | Merge pull request #99115 from Infinisil/toString-module-files | Silvan Mosberger | |
lib/modules: Make sure to not import module _file's into the store | |||
2020-11-29 | Cross-compiling configuration for reMarkable 2 tablet | Tad Fisher | |
2020-11-29 | lib/systems/exmaple: `riscv-multiplatform` no longer needs parameter | John Ericson | |
2020-11-29 | lib, binutils: Move Risc-V bfdEmulation to be by the others | John Ericson | |
2020-11-29 | lib.systems.platforms: Make selection more flexible | John Ericson | |
We dont have to match on exact strings if we get accessed to `parsed`. Co-authored-by: Matthew Bauer <mjbauer95@gmail.com> | |||
2020-11-26 | Merge pull request #103884 from djanatyn/pkg/xlife | Sandro | |
2020-11-24 | Merge pull request #102503 from siraben/remarkable-init | John Ericson | |
Initial implementation of remarkable1 cross-compile | |||
2020-11-24 | lib.lists.unique: Switch from recursive function to using a fold | adisbladis | |
This improves performance by ~30-40% for smaller test cases and makes larger cases where my laptop would OOM pass in seconds. | |||
2020-11-23 | Initial implementation of remarkable1 cross-compile | Ben Siraphob | |
2020-11-19 | lib: Create `makeScopeWithSplicing` | John Ericson | |
It's ugly as hell, but I suppose it is needed to codify how to make spliced package sets. | |||
2020-11-16 | Merge master into staging-next | Frederik Rietdijk | |
2020-11-15 | licenses: add HPND-sell-variant | Jonathan Strickland | |
2020-11-14 | Merge pull request #102766 from siraben/mmix | John Ericson | |
Initial implementation of cross-compilation to Knuth's MMIX | |||
2020-11-13 | lib: Add composeManyExtensions | Joe Hermaszewski | |
2020-11-11 | Merge staging-next into staging | Frederik Rietdijk | |
2020-11-11 | Merge pull request #44928 from vcunat/p/configure-assert | Eelco Dolstra | |
lib/strings: guard against an easy mistake | |||
2020-11-09 | Initial support for OpenRISC 1000 (or1k) | Samuel Dionne-Riel | |
2020-11-09 | Initial implementation of mmix cross-compile | Ben Siraphob | |
2020-10-30 | lib/sources.nix: fix incorrect inherit | V | |
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) | |||
2020-10-26 | lib/types.nix: fix missing inherit | Keshav Kini | |
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 | |||
2020-10-26 | Merge pull request #101139 from roberth/lib-use-static-scope-checking | Robert Hensing | |
lib: Use Nix's static scope checking, fix error message, optimize | |||
2020-10-25 | Merge pull request #101409 from rycee/dbus-warning | Gabriel Ebner | |
2020-10-25 | Merge pull request #100456 from maralorn/boolToString | Andreas Rammhold | |
treewide: De-inline uses of lib.boolToString | |||
2020-10-24 | docs: update documentation of `mkRemovedOptionModule` | Robert Helgesson | |
Since b08b0bcbbec77046e5a7082177cedc12fbf1dc6c, the function actually causes an assertion error, not a warning. | |||
2020-10-22 | lib/sources.nix: Prefer lib for readFile inherit | Robert Hensing | |
2020-10-22 | lib: Add lib.trace for consistency | Robert Hensing | |
This puts it among the trace* family of functions derived from it. | |||
2020-10-22 | lib/modules: Simplify inherits | Robert Hensing | |
2020-10-22 | lib: Add lib.isFloat for consistency | Robert Hensing | |
Unlike the other three is* functions in lib.trivial, it was only available as lib.trivial.isFloat | |||
2020-10-22 | lib/options.nix: Use merge-friendly inherit syntax | Robert Hensing | |
2020-10-22 | lib: Use Nix's static scope checking, fix error message, optimize | Robert Hensing | |
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. | |||
2020-10-22 | lib/types.nix: Use // instead of mergeAttrs | Robert Hensing | |
2020-10-22 | lib/options.nix: Use head instead of elemAt _ 0 | Robert Hensing | |
2020-10-20 | Merge pull request #100953 from AtnNn/splitStrings | Silvan Mosberger | |
Implement splitString using builtins.split | |||
2020-10-19 | lib: Add readTree function to filesystem | Farid Zakaria | |
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> | |||
2020-10-18 | lib.splitString: use builtin.split | Etienne Laurin | |
2020-10-14 | treewide: De-inline uses of lib.boolToString | Malte Brandy | |
This commit should not change eval results | |||
2020-10-10 | Merge branch 'master' into staging-next | Vladimír Čunát | |
Quite many rebuilds from master: > Estimating rebuild amount by counting changed Hydra jobs. > 3926 x86_64-darwin > 4645 x86_64-linux | |||
2020-10-09 | Merge pull request #96641 from zimbatm/data-module-imports | zimbatm | |
nixos: Data module imports | |||
2020-10-06 | Merge staging-next into staging | Frederik Rietdijk | |
2020-09-29 | lib/modules: Make sure to not import module _file's into the store | Silvan Mosberger | |
Previously if `_file` was specified by a module: trace: warning: The type `types.string' of option `foo' defined in `/nix/store/yxhm2il5yrb92fldgriw0wyqh2kk9qyc-bug.nix' is deprecated. See https://github.com/NixOS/nixpkgs/pull/66346 for better alternative types. With this change: trace: warning: The type `types.string' of option `foo' defined in `/home/infinisil/src/nixpkgs/bug.nix' is deprecated. See https://github.com/NixOS/nixpkgs/pull/66346 for better alternative types. | |||
2020-09-24 | Merge branch 'staging-next' into staging | Jan Tojnar | |
2020-09-22 | Merge staging-next into staging | Frederik Rietdijk | |
2020-09-21 | lib/tests: Update for error message changes | Silvan Mosberger | |