summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/languages-frameworks/dotnet.section.md1
-rw-r--r--lib/generators.nix5
-rw-r--r--lib/options.nix17
-rw-r--r--maintainers/maintainer-list.nix9
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2305.section.xml10
-rw-r--r--nixos/doc/manual/release-notes/rl-2305.section.md2
-rw-r--r--nixos/modules/config/no-x-libs.nix2
-rw-r--r--nixos/modules/services/blockchain/ethereum/lighthouse.nix2
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters.nix1
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/statsd.nix19
-rw-r--r--nixos/modules/services/web-servers/nginx/default.nix47
-rw-r--r--nixos/tests/nginx.nix2
-rw-r--r--nixos/tests/prometheus-exporters.nix19
-rw-r--r--pkgs/applications/audio/galaxy-buds-client/deps.nix3
-rw-r--r--pkgs/applications/audio/plexamp/default.nix6
-rw-r--r--pkgs/applications/blockchains/btcpayserver/deps.nix2281
-rw-r--r--pkgs/applications/blockchains/nbxplorer/deps.nix1272
-rw-r--r--pkgs/applications/blockchains/wasabibackend/deps.nix14
-rw-r--r--pkgs/applications/emulators/ryujinx/default.nix2
-rw-r--r--pkgs/applications/misc/ArchiSteamFarm/default.nix3
-rw-r--r--pkgs/applications/networking/mailreaders/tutanota-desktop/default.nix4
-rw-r--r--pkgs/applications/networking/msmtp/default.nix8
-rw-r--r--pkgs/applications/science/logic/formula/nuget.nix91
-rw-r--r--pkgs/applications/science/math/R/default.nix5
-rw-r--r--pkgs/applications/science/math/R/test-reg-packages.patch15
-rw-r--r--pkgs/applications/version-management/redmine/Gemfile7
-rw-r--r--pkgs/applications/version-management/redmine/Gemfile.lock41
-rw-r--r--pkgs/applications/version-management/redmine/default.nix4
-rw-r--r--pkgs/applications/version-management/redmine/gemset.nix67
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/default.nix34
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/default.nix7
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-build-hook.sh7
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-check-hook.sh2
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-configure-hook.sh1
-rw-r--r--pkgs/build-support/dotnet/build-dotnet-module/hooks/dotnet-install-hook.sh7
-rw-r--r--pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh2
-rw-r--r--pkgs/build-support/node/build-npm-package/hooks/npm-config-hook.sh2
-rw-r--r--pkgs/build-support/trivial-builders.nix9
-rw-r--r--pkgs/data/themes/arc/default.nix4
-rw-r--r--pkgs/development/compilers/dotnet/build-dotnet.nix20
-rw-r--r--pkgs/development/compilers/dotnet/default.nix14
-rw-r--r--pkgs/development/compilers/inklecate/default.nix2
-rw-r--r--pkgs/development/compilers/inklecate/deps-linux.nix31
-rw-r--r--pkgs/development/compilers/inklecate/deps.nix (renamed from pkgs/development/compilers/inklecate/deps-darwin.nix)31
-rw-r--r--pkgs/development/dotnet-modules/boogie-deps.nix46
-rw-r--r--pkgs/development/dotnet-modules/python-language-server/default.nix2
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix10
-rw-r--r--pkgs/development/libraries/hwloc/default.nix13
-rw-r--r--pkgs/development/libraries/java/jffi/default.nix4
-rw-r--r--pkgs/development/libraries/libextractor/default.nix11
-rw-r--r--pkgs/development/libraries/ta-lib/default.nix25
-rw-r--r--pkgs/development/misc/resholve/source.nix4
-rw-r--r--pkgs/development/python-modules/casbin/default.nix5
-rw-r--r--pkgs/development/python-modules/hahomematic/default.nix4
-rw-r--r--pkgs/development/python-modules/lupupy/default.nix4
-rw-r--r--pkgs/development/python-modules/pytorch-metric-learning/default.nix4
-rw-r--r--pkgs/development/python-modules/qutip/default.nix6
-rw-r--r--pkgs/development/python-modules/versioneer/default.nix26
-rw-r--r--pkgs/development/r-modules/bioc-annotation-packages.nix127
-rw-r--r--pkgs/development/r-modules/bioc-experiment-packages.nix829
-rw-r--r--pkgs/development/r-modules/bioc-packages.nix4327
-rw-r--r--pkgs/development/r-modules/cran-packages.nix3372
-rw-r--r--pkgs/development/tools/continuous-integration/github-runner/default.nix11
-rw-r--r--pkgs/development/tools/continuous-integration/gitlab-runner/default.nix7
-rw-r--r--pkgs/development/tools/continuous-integration/gitlab-runner/remove-bash-test.patch18
-rw-r--r--pkgs/development/tools/misc/netcoredbg/default.nix4
-rw-r--r--pkgs/development/tools/misc/netcoredbg/deps.nix25
-rw-r--r--pkgs/development/tools/omnisharp-roslyn/default.nix2
-rw-r--r--pkgs/games/BeatSaberModManager/default.nix2
-rw-r--r--pkgs/games/osu-lazer/default.nix4
-rw-r--r--pkgs/games/xivlauncher/default.nix6
-rw-r--r--pkgs/os-specific/linux/bcc/default.nix4
-rw-r--r--pkgs/os-specific/linux/broadcom-sta/default.nix2
-rw-r--r--pkgs/os-specific/linux/broadcom-sta/linux-6.1.patch83
-rw-r--r--pkgs/os-specific/linux/intel-cmt-cat/default.nix4
-rw-r--r--pkgs/os-specific/linux/rtl88x2bu/default.nix6
-rw-r--r--pkgs/servers/jellyfin/default.nix16
-rw-r--r--pkgs/servers/nosql/eventstore/deps.nix5
-rw-r--r--pkgs/servers/static-web-server/default.nix34
-rw-r--r--pkgs/shells/tcsh/default.nix4
-rw-r--r--pkgs/tools/admin/fioctl/default.nix6
-rw-r--r--pkgs/tools/audio/vgmtools/default.nix6
-rw-r--r--pkgs/tools/backup/duplicacy/default.nix6
-rw-r--r--pkgs/tools/games/opentracker/deps.nix17
-rw-r--r--pkgs/tools/games/ps3-disc-dumper/default.nix4
-rw-r--r--pkgs/tools/games/ps3-disc-dumper/deps.nix5
-rw-r--r--pkgs/tools/games/scarab/deps.nix5
-rw-r--r--pkgs/tools/graphics/gfxreconstruct/default.nix67
-rw-r--r--pkgs/tools/misc/snapper/default.nix4
-rw-r--r--pkgs/tools/misc/tio/default.nix4
-rw-r--r--pkgs/tools/security/grap/default.nix51
-rw-r--r--pkgs/top-level/all-packages.nix18
92 files changed, 5890 insertions, 7491 deletions
diff --git a/doc/languages-frameworks/dotnet.section.md b/doc/languages-frameworks/dotnet.section.md
index 1baa135ae586..bfb193b1f021 100644
--- a/doc/languages-frameworks/dotnet.section.md
+++ b/doc/languages-frameworks/dotnet.section.md
@@ -121,7 +121,6 @@ in buildDotnetModule rec {
dotnet-sdk = dotnetCorePackages.sdk_3_1;
dotnet-runtime = dotnetCorePackages.net_5_0;
- dotnetFlags = [ "--runtime linux-x64" ];
executables = [ "foo" ]; # This wraps "$out/lib/$pname/foo" to `$out/bin/foo`.
executables = []; # Don't install any executables.
diff --git a/lib/generators.nix b/lib/generators.nix
index c0fe69389e00..4c9c2d1e9869 100644
--- a/lib/generators.nix
+++ b/lib/generators.nix
@@ -342,7 +342,10 @@ rec {
else "{" + introSpace
+ libStr.concatStringsSep introSpace (libAttr.mapAttrsToList
(name: value:
- "${libStr.escapeNixIdentifier name} = ${go (indent + " ") value};") v)
+ "${libStr.escapeNixIdentifier name} = ${
+ builtins.addErrorContext "while evaluating an attribute `${name}`"
+ (go (indent + " ") value)
+ };") v)
+ outroSpace + "}"
else abort "generators.toPretty: should never happen (v = ${v})";
in go "";
diff --git a/lib/options.nix b/lib/options.nix
index b13687576e81..0fd5b64a65d1 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -221,9 +221,10 @@ rec {
optionAttrSetToDocList' = _: options:
concatMap (opt:
let
+ name = showOption opt.loc;
docOption = rec {
loc = opt.loc;
- name = showOption opt.loc;
+ inherit name;
description = opt.description or null;
declarations = filter (x: x != unknownModule) opt.declarations;
internal = opt.internal or false;
@@ -234,8 +235,18 @@ rec {
readOnly = opt.readOnly or false;
type = opt.type.description or "unspecified";
}
- // optionalAttrs (opt ? example) { example = renderOptionValue opt.example; }
- // optionalAttrs (opt ? default) { default = renderOptionValue (opt.defaultText or opt.default); }
+ // optionalAttrs (opt ? example) {
+ example =
+ builtins.addErrorContext "while evaluating the example of option `${name}`" (
+ renderOptionValue opt.example
+ );
+ }
+ // optionalAttrs (opt ? default) {
+ default =
+ builtins.addErrorContext "while evaluating the default value of option `${name}`" (
+ renderOptionValue (opt.defaultText or opt.default)
+ );
+ }
// optionalAttrs (opt ? relatedPackages && opt.relatedPackages != null) { inherit (opt) relatedPackages; };
subOptions =
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index b399b7c98b1d..48ab4ebd3883 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -11536,6 +11536,15 @@
githubId = 131856;
name = "Arnout Engelen";
};
+ rafael = {
+ name = "Rafael";
+ email = "pr9@tuta.io";
+ github = "rafa-dot-el";
+ githubId = 104688305;
+ keys = [{
+ fingerprint = "5F0B 3EAC F1F9 8155 0946 CDF5 469E 3255 A40D 2AD6";
+ }];
+ };
RaghavSood = {
email = "r@raghavsood.com";
github = "RaghavSood";
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
index 95d5a80b7330..657b5c6f26d8 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2305.section.xml
@@ -140,6 +140,16 @@
</listitem>
<listitem>
<para>
+ The Nginx module now validates the syntax of config files at
+ build time. For more complex configurations (using
+ <literal>include</literal> with out-of-store files notably)
+ you may need to disable this check by setting
+ <link linkend="opt-services.nginx.validateConfig">services.nginx.validateConfig</link>
+ to <literal>false</literal>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
The EC2 image module previously detected and automatically
mounted ext3-formatted instance store devices and partitions
in stage-1 (initramfs), storing <literal>/tmp</literal> on the
diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md
index de376a7403b9..27bd64e514f1 100644
--- a/nixos/doc/manual/release-notes/rl-2305.section.md
+++ b/nixos/doc/manual/release-notes/rl-2305.section.md
@@ -43,6 +43,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The [services.unifi-video.openFirewall](#opt-services.unifi-video.openFirewall) module option default value has been changed from `true` to `false`. You will need to explicitly set this option to `true`, or configure your firewall.
+- The Nginx module now validates the syntax of config files at build time. For more complex configurations (using `include` with