| Commit message (Expand) | Author | Age | Files | Lines |
| * | lib: add missing removeAttrs builtin•••I'm expecting all the builtins.* functions to be available in lib.*
| zimbatm | 2023-04-19 | 1 | -1/+1 |
| * | Merge pull request #221204 from tweag/deprecate-paths-to-strings•••lib.strings: Prevent paths as inputs in some functions | Silvan Mosberger | 2023-04-04 | 1 | -11/+75 |
| |\ |
|
| | * | lib.strings.remove{Prefix,Suffix}: Deprecate for path prefix/suffix arguments•••See also parent commits
| Silvan Mosberger | 2023-03-15 | 1 | -5/+23 |
| | * | lib.strings.normalizePath: Deprecate for path values•••There's no need to call this function on path data types, and it's
confusing with the new lib.path library functions
| Silvan Mosberger | 2023-03-15 | 1 | -1/+14 |
| | * | lib.strings: Deprecate path prefix/suffix/infix arguments•••lib.{hasPrefix,hasInfix,hasSuffix} would otherwise return an
always-false result, which can be very unexpected:
nix-repl> lib.strings.hasPrefix ./lib ./lib/meta.nix
false
| Silvan Mosberger | 2023-03-15 | 1 | -5/+38 |
| * | | Merge pull request #222516 from ncfavier/options-better-error•••lib/modules: better error for invalid option declarations | Naïm Favier | 2023-04-04 | 2 | -5/+9 |
| |\ \ |
|
| | * | | lib/modules: better error for invalid option declarations•••Make `byName` aware of whether it's processing options or config to give
slightly more accurate error messages.
| Naïm Favier | 2023-03-22 | 2 | -5/+9 |
| * | | | Merge pull request #219826 from noctarius/master•••Fixed TimescaleDB License Information | Mario Rodas | 2023-04-01 | 1 | -0/+7 |
| |\ \ \ |
|
| | * | | | timescaledb: Fixed the licensing for the timescaledb package to be split into...•••TimescaleDB provides two types of licenses, Apache 2.0 and Timescale Community License (TSL), with different feature sets. While all the code is in the same repository, the build
system can build both versions depending on the build parameters set in.
Co-authored-by: Emily Lange <git@indeednotjames.com>
| Christoph Engelbert (noctarius) | 2023-03-24 | 1 | -0/+7 |
| | |/ / |
|
| * / / | lib/customisation: callPackageWith should abort with errors•••ofborg relies on the behavior that existed prior to
1c00bf394867b07ed7a908408d8bc1d0afd9fa49, where evaluation would
immediately abort due to a missing argument (whether it be an aliased
package when `allowAliases = false;` or a typo'd or otherwise
nonexistent package).
If `callPackageWith` `throw`s instead of `abort`s, the following
`nix-env` invocation does not fail fast but instead silently skips the
attribute (assuming there is a package that has an aliased package in
its `autoArgs`):
$ nix-env -qa --json --file . --arg config '{ allowAliases = false; }' &>/dev/null
$ echo $?
0
This does change the error output when there is a missing package (for
any of the reasons mentioned above), though. Before this change, the
errors looked like this:
$ nix-build -A hello --arg config '{ allowAliases = false; }'
error:
… while calling the 'throw' builtin
at /home/vin/workspace/vcs/nixpkgs/master/lib/customisation.nix:179:65:
178|
179| in if missingArgs == [] then makeOverridable f allArgs else throw error;
| ^
180|
error: Function called without required argument "bash_5" at /home/vin/workspace/vcs/nixpkgs/master/pkgs/applications/misc/hello/default.nix:8, did you mean "bash" or "bashdb"?
And the errors now look like this:
$ nix-build -A hello --arg config '{ allowAliases = false; }'
error:
… while calling the 'abort' builtin
at /home/vin/workspace/vcs/nixpkgs/master/lib/customisation.nix:179:65:
178|
179| in if missingArgs == [] then makeOverridable f allArgs else abort error;
| ^
180|
error: evaluation aborted with the following error message: 'Function called without required argument "bash_5" at /home/vin/workspace/vcs/nixpkgs/master/pkgs/applications/misc/hello/default.nix:8, did you mean "bash" or "bashdb"?'
| Cole Helbling | 2023-03-24 | 1 | -1/+1 |
| |/ / |
|
| * | | Merge pull request #219747 from Stunkymonkey/deprecate-isNull | Bernardo Meurer | 2023-03-16 | 1 | -1/+1 |
| |\ \ |
|
| | * | | treewide: deprecate isNull•••https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
| Felix Buehler | 2023-03-06 | 1 | -1/+1 |
| * | | | Merge pull request #209099 from infinisil/lib.path.subpath.join•••lib.path.subpath.join: init | Silvan Mosberger | 2023-03-14 | 2 | -0/+107 |
| |\ \ \ |
|
| | * | | | lib.path.subpath.join: init•••This function can be used to safely join subpaths together
| Silvan Mosberger | 2023-02-13 | 2 | -0/+107 |
| | | |/
| |/| |
|
| * | | | Merge pull request #219027 from NixOS/haskell-updates•••haskellPackages: update stackage and hackage; haskellPackages.ghc: 9.2.6 -> 9.2.7 | sternenseemann | 2023-03-13 | 4 | -4/+7 |
| |\ \ \ |
|
| | * \ \ | Merge master into haskell-updates | github-actions[bot] | 2023-03-10 | 7 | -6/+176 |
| | |\ \ \ |
|
| | * \ \ \ | Merge master into haskell-updates | github-actions[bot] | 2023-03-09 | 3 | -91/+10 |
| | |\ \ \ \ |
|
| | * | | | | | haskell.compiler.ghcHEAD: 9.7.20221224 -> 9.7.20230217•••- Christmas is over!
- Upstream has changed the name of the target triplet used for the JS
backend from js-unknown-ghcjs to javascript-unknown-ghcjs, since Cabal
calls the architecture "javascript":
https://gitlab.haskell.org/ghc/ghc/-/commit/6636b670233522f01d002c9b97827d00289dbf5c
Since the triplet is made up anyways, i.e. autoconf does not support
it and Rust uses different triplets for its emscripten backends, we'll
just change it as well.
- Upstream fixed the problem with ar(1) being invoked incorrectly by stage0:
https://gitlab.haskell.org/ghc/ghc/-/commit/e987e345c807035e4637ca3eae227ae501e16c42
| sternenseemann | 2023-03-08 | 4 | -4/+7 |
| * | | | | | | init: lib.foldlAttrs•••- provide comprehensive example
- add unit test
| hsjobeki | 2023-03-11 | 3 | -1/+92 |
| | |_|/ / /
|/| | | | |
|
| * | | | | | lib.systems: don't try to emulate s390-linux•••We don't have an emulator that can do this.
| Alyssa Ross | 2023-03-09 | 1 | -1/+2 |
| * | | | | | Merge pull request #211855 from hercules-ci/lib-modules-disabledModules-modul...•••lib/modules: Allow an "anonymous" module with key in disabledModules | Robert Hensing | 2023-03-09 | 6 | -5/+174 |
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | * | | | | lib/modules: Allow an "anonymous" module with key in disabledModules•••This makes the following work
disabledModules = [ foo.nixosModules.bar ];
even if `bar` is not a path, but rather a module such as
{ key = "/path/to/foo#nixosModules.bar"; config = ...; }
By supporting this, the user will often be able to use the same syntax
for both importing and disabling a module. This is becoming more relevant
because flakes promote the use of attributes to reference modules. Not
all of these modules in flake attributes will be identifiable, but with
the help of a framework such as flake-parts, these attributes can be
guaranteed to be identifiable (by outPath + attribute path).
| Robert Hensing | 2023-03-01 | 6 | -5/+174 |
| * | | | | | Merge pull request #214941 from OPNA2608/init/katawa-shoujo•••katawa-shoujo: init at 1.3.1 | Sandro | 2023-03-08 | 1 | -0/+6 |
| |\ \ \ \ \ |
|
| | * | | | | | lib/licenses.nix: Add cc-by-nc-nd-30 | OPNA2608 | 2023-02-09 | 1 | -0/+6 |
| * | | | | | | lib: remove deprecated functions•••all of these have been deprecated and raising warnings since 18.09. it's
about time we actually made good on "will be removed in the next release".
| pennae | 2023-03-08 | 2 | -91/+4 |
| | |_|/ / /
|/| | | | |
|
| * | | | | | Merge pull request #211950 from Atemu/armv8-no-more-armv7•••lib/systems/parse: stop considering armv8a able to execute armv7l | Atemu | 2023-03-07 | 1 | -13/+2 |
| |\ \ \ \ \ |
|
| | * | | | | | lib/systems/parse: stop considering armv8a able to execute armv7l•••In the past, most (if not all) armv8 CPUs could also execute armv7. However,
with the advent of Apple Silicon, aarch64 CPUs without any aarch32 capabilities
are now wide-spread among users.
| Atemu | 2023-01-21 | 1 | -13/+2 |
| * | | | | | | Merge pull request #210125 from OPNA2608/fix/pdisk_patchurl | Sandro | 2023-03-05 | 1 | -1/+0 |
| |\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
|
| | * | | | | | licenses: Remove unnecessary archive.org link for APSL-1.0•••SPDX has a copy of it, and the url gets overridden with the spdx.org one anyway.
| OPNA2608 | 2023-01-17 | 1 | -1/+0 |
| * | | | | | | lib/options: fix mkPackageOption docs•••nixdoc takes everything from Type: to Example: as the type, which
misrendered a large part of the docs. it also drops sorely needed spaces
where the type had line breaks, so all has to be on one line (or use
non-standard literal spaces, which is probably worse).
also clarify what the `?` for arguments mean while we're here.
| pennae | 2023-03-05 | 1 | -7/+5 |
| * | | | | | | lib/strings: hide asciiTable•••Since it's an attribute set, the lib function location generating code
tries to generate locations for each of the characters...
| Naïm Favier | 2023-03-04 | 1 | -2/+2 |
| * | | | | | | Merge pull request #219235 from patwid/strings-escape-query-for-url-encoding | Valentin Gagarin | 2023-03-04 | 4 | -5/+32 |
| |\ \ \ \ \ \ |
|
| | * | | | | | | strings: add escapeQuery for url encoding | Patrick Widmer | 2023-03-03 | 4 | -5/+32 |
| * | | | | | | | Merge master into staging-next | github-actions[bot] | 2023-02-26 | 1 | -15/+48 |
| |\ \ \ \ \ \ \ |
|
| | * | | | | | | | lib/options: Add more options to mkPackageOption | Anselm Schüler | 2023-02-26 | 1 | -15/+48 |
| | |/ / / / / / |
|
| * | | | | | | | Merge master into staging-next | github-actions[bot] | 2023-02-23 | 1 | -5/+5 |
| |\| | | | | | |
|
| | * | | | | | | lib.licenses.asl20-llvm: replace llvm-exception•••LLVM-exception only makes sense when used with the Apache 2.0 license,
so let's combine them, so it's not possible to forget one of them like
happened with llvm_15.
| Alyssa Ross | 2023-02-23 | 1 | -5/+5 |
| * | | | | | | | Merge master into staging-next | github-actions[bot] | 2023-02-23 | 1 | -8/+56 |
| |\| | | | | | |
|
| | * | | | | | | improves: comprehensiveness | hsjobeki | 2023-02-23 | 1 | -8/+3 |
| | * | | | | | | add better documentation comments to lib.runTests | hsjobeki | 2023-02-23 | 1 | -6/+59 |
| * | | | | | | | Merge master into staging-next | github-actions[bot] | 2023-02-21 | 1 | -6/+4 |
| |\| | | | | | |
|
| | * | | | | | | Merge pull request #216983 from ncfavier/showOption-comment•••lib/options: update showOption comment | Naïm Favier | 2023-02-21 | 1 | -6/+4 |
| | |\ \ \ \ \ \ |
|
| | | * | | | | | | lib/options: update showOption comment | Naïm Favier | 2023-02-18 | 1 | -6/+4 |
| | | | |_|_|/ /
| | |/| | | | |
|
| * | | | | | | | Merge master into staging-next | github-actions[bot] | 2023-02-15 | 1 | -6/+13 |
| |\| | | | | | |
|
| | * | | | | | | Merge pull request #203539 from SuperSandro2000/architectures-expand-inferiors•••lib/systems/architectures: expand inferiors | Sandro | 2023-02-15 | 1 | -6/+13 |
| | |\ \ \ \ \ \
| | |/ / / / /
| |/| | | | | |
|
| | | * | | | | | lib/systems/architectures: expand inferiors | Sandro Jäckel | 2022-11-29 | 1 | -6/+13 |
| * | | | | | | | Merge staging-next into staging | github-actions[bot] | 2023-02-10 | 1 | -2/+5 |
| |\| | | | | | |
|
| | * | | | | | | Merge pull request #215455 from domenkozar/module-errors•••nixos: Improve module conflict error messages | Domen Kožar | 2023-02-10 | 1 | -2/+5 |
| | |\ \ \ \ \ \
| | |_|_|_|/ /
| |/| | | | | |
|
| | | * | | | | | types: suggest how to resolve the conflict | Domen Kožar | 2023-02-09 | 1 | -2/+5 |
| | | * | | | | | types: explicitly state unique options are expected to be unique | Domen Kožar | 2023-02-09 | 1 | -1/+1 |