summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2022-12-01 18:01:25 +0000
committerGitHub <noreply@github.com>2022-12-01 18:01:25 +0000
commit237453e7f757a4640509bb85ebae6a35c4127581 (patch)
tree079a1e17b789076c6b28f325a2092f4904d08ea5
parent5d71fe0cdb7e5ffd76161ace63b1d9abe10397a8 (diff)
parent4c5c40f176aef39fe0a12fe70bdd4c6ee78299ab (diff)
Merge master into staging-next
-rw-r--r--maintainers/maintainer-list.nix2
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2211.section.xml10
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2305.section.xml7
-rw-r--r--nixos/doc/manual/release-notes/rl-2211.section.md2
-rw-r--r--nixos/doc/manual/release-notes/rl-2305.section.md2
-rw-r--r--nixos/modules/config/users-groups.nix4
-rw-r--r--nixos/modules/misc/man-db.nix6
-rw-r--r--nixos/modules/misc/nixpkgs.nix9
-rw-r--r--nixos/modules/module-list.nix1
-rw-r--r--nixos/modules/profiles/all-hardware.nix2
-rw-r--r--nixos/modules/profiles/docker-container.nix11
-rw-r--r--nixos/modules/services/cluster/hadoop/hbase.nix8
-rw-r--r--nixos/modules/services/continuous-integration/buildbot/master.nix6
-rw-r--r--nixos/modules/services/databases/redis.nix10
-rw-r--r--nixos/modules/services/development/jupyter/default.nix2
-rw-r--r--nixos/modules/services/development/jupyter/kernel-options.nix13
-rw-r--r--nixos/modules/services/development/jupyterhub/default.nix2
-rw-r--r--nixos/modules/services/games/crossfire-server.nix6
-rw-r--r--nixos/modules/services/hardware/sane.nix10
-rw-r--r--nixos/modules/services/misc/gammu-smsd.nix4
-rw-r--r--nixos/modules/services/misc/gitea.nix2
-rw-r--r--nixos/modules/services/misc/nix-daemon.nix12
-rw-r--r--nixos/modules/services/misc/redmine.nix85
-rw-r--r--nixos/modules/services/misc/sourcehut/default.nix42
-rw-r--r--nixos/modules/services/networking/keepalived/default.nix6
-rw-r--r--nixos/modules/services/networking/prosody.nix2
-rw-r--r--nixos/modules/services/networking/softether.nix8
-rw-r--r--nixos/modules/services/security/physlock.nix10
-rw-r--r--nixos/modules/services/web-apps/discourse.nix4
-rw-r--r--nixos/modules/services/web-apps/invoiceplane.nix4
-rw-r--r--nixos/modules/services/web-apps/isso.nix22
-rwxr-xr-xnixos/modules/system/boot/stage-2-init.sh2
-rw-r--r--nixos/modules/system/boot/stage-2.nix14
-rw-r--r--nixos/modules/tasks/network-interfaces.nix7
-rw-r--r--nixos/modules/virtualisation/qemu-vm.nix3
-rw-r--r--pkgs/applications/audio/hqplayer-desktop/default.nix2
-rw-r--r--pkgs/applications/editors/vim/plugins/generated.nix258
-rw-r--r--pkgs/applications/editors/vim/plugins/nvim-treesitter/generated.nix24
-rw-r--r--pkgs/applications/editors/vim/plugins/vim-plugin-names1
-rw-r--r--pkgs/applications/misc/visidata/default.nix19
-rw-r--r--pkgs/applications/misc/zathura/cb/default.nix4
-rw-r--r--pkgs/applications/misc/zathura/core/default.nix5
-rw-r--r--pkgs/applications/misc/zathura/pdf-mupdf/default.nix6
-rw-r--r--pkgs/applications/misc/zathura/pdf-mupdf/fix-mupdf-1.20.patch24
-rw-r--r--pkgs/applications/misc/zathura/pdf-poppler/default.nix4
-rw-r--r--pkgs/applications/misc/zathura/ps/default.nix4
-rw-r--r--pkgs/applications/networking/cluster/clusterctl/default.nix6
-rw-r--r--pkgs/applications/networking/instant-messengers/zoom-us/default.nix12
-rw-r--r--pkgs/applications/version-management/gitlab/data.json10
-rw-r--r--pkgs/applications/version-management/gitlab/gitaly/default.nix4
-rw-r--r--pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix2
-rw-r--r--pkgs/applications/version-management/gitlab/rubyEnv/Gemfile2
-rw-r--r--pkgs/applications/version-management/gitlab/rubyEnv/Gemfile.lock4
-rw-r--r--pkgs/applications/version-management/gitlab/rubyEnv/gemset.nix4
-rw-r--r--pkgs/applications/version-management/sapling/default.nix56
-rw-r--r--pkgs/applications/version-management/sourcehut/default.nix4
-rw-r--r--pkgs/applications/version-management/sourcehut/dispatch.nix40
-rwxr-xr-xpkgs/applications/version-management/sourcehut/update.sh2
-rw-r--r--pkgs/applications/video/obs-studio/plugins/obs-vkcapture.nix4
-rw-r--r--pkgs/development/compilers/gnostic/default.nix26
-rw-r--r--pkgs/development/compilers/mono/generic.nix17
-rw-r--r--pkgs/development/interpreters/python/manylinux/default.nix2
-rw-r--r--pkgs/development/java-modules/postgresql_jdbc/default.nix4
-rw-r--r--pkgs/development/libraries/libdbi-drivers/default.nix15
-rw-r--r--pkgs/development/libraries/spirv-headers/default.nix2
-rw-r--r--pkgs/development/python-modules/openstacksdk/default.nix4
-rw-r--r--pkgs/development/python-modules/openstacksdk/tests.nix3
-rw-r--r--pkgs/development/python-modules/pycfdns/default.nix7
-rw-r--r--pkgs/development/python-modules/pyoctoprintapi/default.nix5
-rw-r--r--pkgs/development/tools/nil/default.nix6
-rw-r--r--pkgs/development/tools/rust/cargo-apk/default.nix24
-rw-r--r--pkgs/development/tools/spirv-tools/default.nix2
-rw-r--r--pkgs/development/web/deno/default.nix6
-rw-r--r--pkgs/development/web/deno/librusty_v8.nix10
-rw-r--r--pkgs/games/blobby/blobby.sh2
-rw-r--r--pkgs/games/blobby/default.nix7
-rw-r--r--pkgs/servers/libreddit/default.nix6
-rw-r--r--pkgs/servers/mpd/default.nix4
-rw-r--r--pkgs/servers/web-apps/dolibarr/default.nix4
-rw-r--r--pkgs/servers/zoneminder/default.nix2
-rw-r--r--pkgs/tools/security/crowdsec/default.nix60
-rw-r--r--pkgs/top-level/all-packages.nix9
82 files changed, 645 insertions, 423 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 9075a976025e..857454fda5c8 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -15811,7 +15811,7 @@
};
portothree = {
name = "Gustavo Porto";
- email = "gustavoporto@ya.ru";
+ email = "gus@p8s.co";
github = "portothree";
githubId = 3718120;
};
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
index b72c4326004c..f912c467c7e3 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
@@ -441,6 +441,16 @@
</listitem>
<listitem>
<para>
+ <literal>services.sourcehut.dispatch</literal> and the
+ corresponding package
+ (<literal>sourcehut.dispatchsrht</literal>) have been removed
+ due to
+ <link xlink:href="https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/">upstream
+ deprecation</link>.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
The <literal>p4</literal> package now only includes the
open-source Perforce Helix Core command-line client and APIs.
It no longer installs the unfree Helix Core Server binaries
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 c8bd237dbb00..757a719bfefd 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
@@ -78,6 +78,13 @@
relying on this should provide their own implementation.
</para>
</listitem>
+ <listitem>
+ <para>
+ The <literal>nix.readOnlyStore</literal> option has been
+ renamed to <literal>boot.readOnlyNixStore</literal> to clarify
+ that it configures the NixOS boot process, not the Nix daemon.
+ </para>
+ </listitem>
</itemizedlist>
</section>
<section xml:id="sec-release-23.05-notable-changes">
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md
index e0aef342c1ac..d427597cc7b5 100644
--- a/nixos/doc/manual/release-notes/rl-2211.section.md
+++ b/nixos/doc/manual/release-notes/rl-2211.section.md
@@ -124,6 +124,8 @@ In addition to numerous new and upgraded packages, this release includes the fol
- `services.hbase` has been renamed to `services.hbase-standalone`.
For production HBase clusters, use `services.hadoop.hbase` instead.
+- `services.sourcehut.dispatch` and the corresponding package (`sourcehut.dispatchsrht`) have been removed due to [upstream deprecation](https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/).
+
- The `p4` package now only includes the open-source Perforce Helix Core command-line client and APIs. It no longer installs the unfree Helix Core Server binaries `p4d`, `p4broker`, and `p4p`. To install the Helix Core Server binaries, use the `p4d` package instead.
- The OpenSSL extension for the PHP interpreter used by Nextcloud is built against OpenSSL 1.1 if
diff --git a/nixos/doc/manual/release-notes/rl-2305.section.md b/nixos/doc/manual/release-notes/rl-2305.section.md
index c438fdc1aaaf..1b105fdd1f3f 100644
--- a/nixos/doc/manual/release-notes/rl-2305.section.md
+++ b/nixos/doc/manual/release-notes/rl-2305.section.md
@@ -29,6 +29,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The EC2 image module previously detected and activated swap-formatted instance store devices and partitions in stage-1 (initramfs). This behaviour has been removed. Users relying on this should provide their own implementation.
+- The `nix.readOnlyStore` option has been renamed to `boot.readOnlyNixStore` to clarify that it configures the NixOS boot process, not the Nix daemon.
+
## Other Notable Changes {#sec-release-23.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index 2660b0e6c938..61d70ccc19b2 100644
--- a/nixos/modules/config/users-groups.nix
+++ b/nixos/modules/config/users-groups.nix
@@ -618,7 +618,7 @@ in {
# Install all the user shells
environment.systemPackages = systemShells;
- environment.etc = (mapAttrs' (_: { packages, name, ... }: {
+ environment.etc = mapAttrs' (_: { packages, name, ... }: {
name = "profiles/per-user/${name}";
value.source = pkgs.buildEnv {
name = "user-environment";
@@ -626,7 +626,7 @@ in {
inherit (config.environment) pathsToLink extraOutputsToInstall;
inherit (config.system.path) ignoreCollisions postBuild;
};
- }) (filterAttrs (_: u: u.packages != []) cfg.users));
+ }) (filterAttrs (_: u: u.packages != []) cfg.users);
environment.profiles = [
"$HOME/.nix-profile"
diff --git a/nixos/modules/misc/man-db.nix b/nixos/modules/misc/man-db.nix
index 08fb91b3994c..df903259fa42 100644
--- a/nixos/modules/misc/man-db.nix
+++ b/nixos/modules/misc/man-db.nix
@@ -52,9 +52,13 @@ in
environment.systemPackages = [ cfg.package ];
environment.etc."man_db.conf".text =
let
+ mandbForBuild = if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then
+ cfg.package
+ else
+ pkgs.buildPackages.man-db;
manualCache = pkgs.runCommand "man-cache" { } ''
echo "MANDB_MAP ${cfg.manualPages}/share/man $out" > man.conf
- ${cfg.package}/bin/mandb -C man.conf -psc >/dev/null 2>&1
+ ${mandbForBuild}/bin/mandb -C man.conf -psc >/dev/null 2>&1
'';
in
''
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix
index 7f7417226d17..7f44c3f6f3f0 100644
--- a/nixos/modules/misc/nixpkgs.nix
+++ b/nixos/modules/misc/nixpkgs.nix
@@ -23,12 +23,12 @@ let
optionalAttrs (lhs ? packageOverrides) {
packageOverrides = pkgs:
optCall lhs.packageOverrides pkgs //
- optCall (attrByPath ["packageOverrides"] ({}) rhs) pkgs;
+ optCall (attrByPath [ "packageOverrides" ] { } rhs) pkgs;
} //
optionalAttrs (lhs ? perlPackageOverrides) {
perlPackageOverrides = pkgs:
optCall lhs.perlPackageOverrides pkgs //
- optCall (attrByPath ["perlPackageOverrides"] ({}) rhs) pkgs;
+ optCall (attrByPath [ "perlPackageOverrides" ] { } rhs) pkgs;
};
configType = mkOptionType {
@@ -67,11 +67,6 @@ let
# Context for messages
hostPlatformLine = optionalString hasHostPlatform "${showOptionWithDefLocs opt.hostPlatform}";
buildPlatformLine = optionalString hasBuildPlatform "${showOptionWithDefLocs opt.buildPlatform}";
- platformLines = optionalString hasPlatform ''
- Your system configuration configures nixpkgs with platform parameters:
- ${hostPlatformLine
- }${buildPlatformLine
- }'';
legacyOptionsDefined =
optional (opt.localSystem.highestPrio < (mkDefault {}).priority) opt.system
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index 215e001c2ec1..d5550cd878ee 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -46,6 +46,7 @@
./hardware/brillo.nix
./hardware/ckb-next.nix
./hardware/cpu/amd-microcode.nix
+ ./hardware/cpu/amd-sev.nix
./hardware/cpu/intel-microcode.nix
./hardware/cpu/intel-sgx.nix
./hardware/corectrl.nix
diff --git a/nixos/modules/profiles/all-hardware.nix b/nixos/modules/profiles/all-hardware.nix
index 5fa64a6c52e9..4857ea4dbeae 100644
--- a/nixos/modules/profiles/all-hardware.nix
+++ b/nixos/modules/profiles/all-hardware.nix
@@ -31,7 +31,7 @@ in
"pata_winbond"
# SCSI support (incomplete).
- "3w-9xxx" "3w-xxxx" "aic79xx" "aic7xxx" "arcmsr"
+ "3w-9xxx" "3w-xxxx" "aic79xx" "aic7xxx" "arcmsr" "hpsa"
# USB support, especially for booting from USB CD-ROM
# drives.
diff --git a/nixos/modules/profiles/docker-container.nix b/nixos/modules/profiles/docker-container.nix
index 183645de36fb..5365e49711dc 100644
--- a/nixos/modules/profiles/docker-container.nix
+++ b/nixos/modules/profiles/docker-container.nix
@@ -1,13 +1,12 @@
{ config, lib, pkgs, ... }:
-with lib;
-
-let inherit (pkgs) writeScript; in
-
let
- pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l;
+ inherit (pkgs) writeScript;
+
+ pkgs2storeContents = map (x: { object = x; symlink = "none"; });
+in
-in {
+{
# Docker image config.
imports = [
../installer/cd-dvd/channel.nix
diff --git a/nixos/modules/services/cluster/hadoop/hbase.nix b/nixos/modules/services/cluster/hadoop/hbase.nix
index 237a1d428fe2..97951ebfe334 100644
--- a/nixos/modules/services/cluster/hadoop/hbase.nix
+++ b/nixos/modules/services/cluster/hadoop/hbase.nix
@@ -141,9 +141,9 @@ in
services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir;
- networking.firewall.allowedTCPPorts = (mkIf cfg.hbase.master.openFirewall [
+ networking.firewall.allowedTCPPorts = mkIf cfg.hbase.master.openFirewall [
16000 16010
- ]);
+ ];
})
@@ -168,9 +168,9 @@ in
services.hadoop.hbaseSiteInternal."hbase.rootdir" = cfg.hbase.rootdir;
networking = {
- firewall.allowedTCPPorts = (mkIf cfg.hbase.regio