From 36c179b2086e34a3af86e46624a2d89de545d6b5 Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Mon, 30 Aug 2021 16:54:32 +0200 Subject: [PATCH 01/69] nixos/unifi-poller: add support of Loki Since the v2.0.2 unifi-poller supports Loki [0][1], this contribution adds the options so it can be used. [0] https://github.com/unpoller/unpoller/releases/tag/v2.0.2-beta1 [1] https://unpoller.com/docs/dependencies/loki/ --- .../services/monitoring/unifi-poller.nix | 80 ++++++++++++++++++- 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/monitoring/unifi-poller.nix b/nixos/modules/services/monitoring/unifi-poller.nix index 208f5e4875b4..5b2c038ac2f5 100644 --- a/nixos/modules/services/monitoring/unifi-poller.nix +++ b/nixos/modules/services/monitoring/unifi-poller.nix @@ -6,7 +6,7 @@ let cfg = config.services.unifi-poller; configFile = pkgs.writeText "unifi-poller.json" (generators.toJSON {} { - inherit (cfg) poller influxdb prometheus unifi; + inherit (cfg) poller influxdb loki prometheus unifi; }); in { @@ -118,6 +118,61 @@ in { }; }; + loki = { + url = mkOption { + type = types.str; + default = ""; + description = '' + URL of the Loki host. + ''; + }; + user = mkOption { + type = types.str; + default = ""; + description = '' + Username for Loki. + ''; + }; + pass = mkOption { + type = types.path; + default = pkgs.writeText "unifi-poller-loki-default.password" ""; + defaultText = "unifi-poller-influxdb-default.password"; + description = '' + Path of a file containing the password for Loki. + This file needs to be readable by the unifi-poller user. + ''; + apply = v: "file://${v}"; + }; + verify_ssl = mkOption { + type = types.bool; + default = false; + description = '' + Verify Loki's certificate. + ''; + }; + tenant_id = mkOption { + type = types.str; + default = ""; + description = '' + Tenant ID to use in Loki. + ''; + }; + interval = mkOption { + type = types.str; + default = "2m"; + description = '' + How often the events are polled and pushed to Loki. + ''; + }; + timeout = mkOption { + type = types.str; + default = "10s"; + description = '' + Should be increased in case of timeout errors. + ''; + }; + }; + unifi = let controllerOptions = { user = mkOption { @@ -157,7 +212,28 @@ in { type = types.bool; default = false; description = '' - Collect and save data from the intrusion detection system to influxdb. + Collect and save data from the intrusion detection system to influxdb and Loki. + ''; + }; + save_events = mkOption { + type = types.bool; + default = false; + description = '' + Collect and save data from UniFi events to influxdb and Loki. + ''; + }; + save_alarms = mkOption { + type = types.bool; + default = false; + description = '' + Collect and save data from UniFi alarms to influxdb and Loki. + ''; + }; + save_anomalies = mkOption { + type = types.bool; + default = false; + description = '' + Collect and save data from UniFi anomalies to influxdb and Loki. ''; }; save_dpi = mkOption { From 2046db60e47cdf64ad8f02c56168911c36d44f85 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Tue, 26 Oct 2021 21:53:15 -0700 Subject: [PATCH 02/69] saleae-logic-2: 2.3.38 -> 2.3.39 --- pkgs/development/tools/misc/saleae-logic-2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/misc/saleae-logic-2/default.nix b/pkgs/development/tools/misc/saleae-logic-2/default.nix index 57a513a63d80..02927667775a 100644 --- a/pkgs/development/tools/misc/saleae-logic-2/default.nix +++ b/pkgs/development/tools/misc/saleae-logic-2/default.nix @@ -1,10 +1,10 @@ { lib, fetchurl, makeDesktopItem, appimageTools, gtk3 }: let name = "saleae-logic-2"; - version = "2.3.38"; + version = "2.3.39"; src = fetchurl { url = "https://downloads.saleae.com/logic2/Logic-${version}-master.AppImage"; - sha256 = "0y3ys3q6gd9fxgaf36q5av0kgvy7jv5anyjxb4cva8d95l4k3ask"; + sha256 = "1p31i8xillc5vrl2nli74b7p7cv2yz2qafp2gnyjfn0nbx5ij52g"; }; desktopItem = makeDesktopItem { inherit name; From 5d11d5f87f72f982f272ff9c289a04344aa10773 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 18:36:24 +0000 Subject: [PATCH 03/69] skaffold: 1.32.0 -> 1.34.0 --- pkgs/development/tools/skaffold/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix index af590bff1557..5921f8d19d47 100644 --- a/pkgs/development/tools/skaffold/default.nix +++ b/pkgs/development/tools/skaffold/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "skaffold"; - version = "1.32.0"; + version = "1.34.0"; src = fetchFromGitHub { owner = "GoogleContainerTools"; repo = "skaffold"; rev = "v${version}"; - sha256 = "sha256-LvTAM3uYzSEhX7zz7Z+VcMYV5p80EnyaEIu0CmAUaSg="; + sha256 = "sha256-y9y1aUy2fDvMuYCKU2g2lBSmX53NDy9v0XImHXqdJqM="; }; - vendorSha256 = "sha256-TUpHg4yvZ0WKcUFXjWh4Q4/gRtJ93xNa/gLkj5PYo/w="; + vendorSha256 = "sha256-h5UybTcvr9Zxpfw7zBCeSAG2oAZzFWpuYugqXUCMtjs="; subPackages = ["cmd/skaffold"]; From fb2d35f4546c16d9fc2b7bfe3ef60742d5706004 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 20:08:42 +0000 Subject: [PATCH 04/69] seatd: 0.6.2 -> 0.6.3 --- pkgs/applications/misc/seatd/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/seatd/default.nix b/pkgs/applications/misc/seatd/default.nix index 0565c8add3b8..e142ec47af99 100644 --- a/pkgs/applications/misc/seatd/default.nix +++ b/pkgs/applications/misc/seatd/default.nix @@ -10,13 +10,13 @@ stdenv.mkDerivation rec { pname = "seatd"; - version = "0.6.2"; + version = "0.6.3"; src = fetchFromSourcehut { owner = "~kennylevinsen"; repo = "seatd"; rev = version; - sha256 = "0c07i1nq0k60xmcsnr37ryqs7nzbg4qfq6fzbnzwbh1yhr8kypcm"; + sha256 = "sha256-LLRGi3IACqaIHExLhALnUeiPyUnlhAJzsMFE2p+QSp4="; }; outputs = [ "bin" "out" "dev" "man" ]; From b3e589f2bfcb65072899364c8c11fc3b23032c7d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 20:18:00 +0000 Subject: [PATCH 05/69] spaceship-prompt: 3.14.1 -> 3.15.0 --- pkgs/shells/zsh/spaceship-prompt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/shells/zsh/spaceship-prompt/default.nix b/pkgs/shells/zsh/spaceship-prompt/default.nix index f1dcb9ead9c9..4df472e4afd2 100644 --- a/pkgs/shells/zsh/spaceship-prompt/default.nix +++ b/pkgs/shells/zsh/spaceship-prompt/default.nix @@ -2,13 +2,13 @@ stdenvNoCC.mkDerivation rec { pname = "spaceship-prompt"; - version = "3.14.1"; + version = "3.15.0"; src = fetchFromGitHub { owner = "denysdovhan"; repo = pname; rev = "v${version}"; - sha256 = "sha256-/Q2vsCIDsHUSBavJoHX3L0NQ7REoQmaiRgHVGiLtNPE="; + sha256 = "sha256-/9c4o9tdXtDefZ1fA62Y9Sg2cv54YVZGlZ1n6EfQWC4="; }; dontBuild = true; From 71afc8dc05c55c3c2209ee52b4d5407969220589 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 20:52:40 +0000 Subject: [PATCH 06/69] stripe-cli: 1.7.3 -> 1.7.4 --- pkgs/tools/admin/stripe-cli/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/admin/stripe-cli/default.nix b/pkgs/tools/admin/stripe-cli/default.nix index 549b60c6dbeb..ea3ccc8162f8 100644 --- a/pkgs/tools/admin/stripe-cli/default.nix +++ b/pkgs/tools/admin/stripe-cli/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "stripe-cli"; - version = "1.7.3"; + version = "1.7.4"; src = fetchFromGitHub { owner = "stripe"; repo = pname; rev = "v${version}"; - sha256 = "sha256-Hlh2nfqQD+HMoJ2n1vfffn5ieEKSMtXpdoM0ydFQqrc="; + sha256 = "sha256-2wiry3bBrxrhyyPT/81VpAS34XBZgZsz8Wlq8Qeybgk="; }; - vendorSha256 = "sha256-DTNwgerJ7qZxH4imdrST7TaR20oevDluEDgAlubg5hw="; + vendorSha256 = "sha256-Lgd1vGXlZw0s4dVC0TlGEYoGOLrJPc/bZ75Mzke4rrg="; subPackages = [ "cmd/stripe" From 63c8c1c8c3aee3773316ec0f7f1c05fdc555b8ce Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 21:02:06 +0000 Subject: [PATCH 07/69] stgit: 1.3 -> 1.4 --- .../version-management/git-and-tools/stgit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/stgit/default.nix b/pkgs/applications/version-management/git-and-tools/stgit/default.nix index 02888b3f87ef..1c3fdf90aa79 100644 --- a/pkgs/applications/version-management/git-and-tools/stgit/default.nix +++ b/pkgs/applications/version-management/git-and-tools/stgit/default.nix @@ -12,13 +12,13 @@ python3Packages.buildPythonApplication rec { pname = "stgit"; - version = "1.3"; + version = "1.4"; src = fetchFromGitHub { owner = "stacked-git"; repo = "stgit"; rev = "v${version}"; - sha256 = "0wa3ba7afnbb1h08n9xr0cqsg93rx0qd9jv8a34mmpp0lpijmjw6"; + sha256 = "0yx81d61kp33h7n0c14wvcrh8vvjjjq4xjh1qwq2sdbmqc43p3hg"; }; nativeBuildInputs = [ installShellFiles asciidoc xmlto docbook_xsl docbook_xml_dtd_45 ]; From a252b52acc8d1fa50d98c47c993c56c316ceec89 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 21:09:44 +0000 Subject: [PATCH 08/69] signal-cli: 0.9.0 -> 0.9.2 --- .../networking/instant-messengers/signal-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix index 33a746e0395b..59ff3554ebf5 100644 --- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix @@ -2,12 +2,12 @@ stdenv.mkDerivation rec { pname = "signal-cli"; - version = "0.9.0"; + version = "0.9.2"; # Building from source would be preferred, but is much more involved. src = fetchurl { url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz"; - sha256 = "sha256-wk8kk+PG0nw2OE7mccGjP435SEytStRy1unxg6EqP/8="; + sha256 = "sha256-CumrIlOPmvQ3x7Ua5I2G7ZlTSAbhLgAQMPUg4I5WCeQ="; }; buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ]; From 48c948aa0c628f57b332b2e42b84048e45896bd8 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 22:43:31 +0000 Subject: [PATCH 09/69] python38Packages.lightgbm: 3.3.0 -> 3.3.1 --- pkgs/development/python-modules/lightgbm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/lightgbm/default.nix b/pkgs/development/python-modules/lightgbm/default.nix index 0bfa586a8ba5..7e241be4aafe 100644 --- a/pkgs/development/python-modules/lightgbm/default.nix +++ b/pkgs/development/python-modules/lightgbm/default.nix @@ -10,11 +10,11 @@ buildPythonPackage rec { pname = "lightgbm"; - version = "3.3.0"; + version = "3.3.1"; src = fetchPypi { inherit pname version; - sha256 = "107ae7babbbda2c2f0e07484f0c53cdeb455e9219235f79dc4e1685d7541e505"; + sha256 = "5b9f31759ab4e94d9409deb03104c55b0a40058a6ccea804022046d926bc4904"; }; nativeBuildInputs = [ From d8bc2bfd328ce0a78bc6dab981477ea811c07c1b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 28 Oct 2021 22:57:09 +0000 Subject: [PATCH 10/69] syslogng: 3.33.2 -> 3.34.1 --- pkgs/tools/system/syslog-ng/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/syslog-ng/default.nix b/pkgs/tools/system/syslog-ng/default.nix index 9c4526c91b3f..51f8cd94da1e 100644 --- a/pkgs/tools/system/syslog-ng/default.nix +++ b/pkgs/tools/system/syslog-ng/default.nix @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "syslog-ng"; - version = "3.33.2"; + version = "3.34.1"; src = fetchurl { url = "https://github.com/${pname}/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; - sha256 = "sha256-C3hqBgd7kVAZHXFPRaG0s3kpUstYFjo68zbwdNqfsUs="; + sha256 = "sha256-zs457BxoyI1JNwXgpSi4PQONo4TonUg4OTzMdfYqLUw="; }; nativeBuildInputs = [ pkg-config which ]; From 195f6a2b81e66ca2561a4b83bc5b954d39f69a8b Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 00:25:13 +0000 Subject: [PATCH 11/69] rsyslog: 8.2108.0 -> 8.2110.0 --- pkgs/tools/system/rsyslog/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 8e1e51469dd1..22c093303afc 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -14,11 +14,11 @@ let in stdenv.mkDerivation rec { pname = "rsyslog"; - version = "8.2108.0"; + version = "8.2110.0"; src = fetchurl { url = "https://www.rsyslog.com/files/download/rsyslog/${pname}-${version}.tar.gz"; - sha256 = "sha256-SCbCttCBqclfRp+wEVvj+VEgZSl9PeAOxRN1jNswsdk="; + sha256 = "sha256-P5BOwTfKZBLoJz94ltli7LWJ99DFib3xaxcJ7CfiTzE="; }; #patches = [ ./fix-gnutls-detection.patch ]; From 3a096356a4784592494d045f0d1278b7f21244c0 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 02:06:56 +0000 Subject: [PATCH 12/69] azure-storage-azcopy: 10.12.2 -> 10.13.0 --- pkgs/development/tools/azcopy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/azcopy/default.nix b/pkgs/development/tools/azcopy/default.nix index 5e00f1bc3949..27d1c866725a 100644 --- a/pkgs/development/tools/azcopy/default.nix +++ b/pkgs/development/tools/azcopy/default.nix @@ -2,18 +2,18 @@ buildGoModule rec { pname = "azure-storage-azcopy"; - version = "10.12.2"; + version = "10.13.0"; src = fetchFromGitHub { owner = "Azure"; repo = "azure-storage-azcopy"; rev = "v${version}"; - sha256 = "sha256-NmWCaTmQlCAKaVDumDlubHQhUjhY7uYawkjrP2ggczk="; + sha256 = "sha256-L5gfS2hwk1uaWEygn+liupdANL9qizHAjxNz25KBwaY="; }; subPackages = [ "." ]; - vendorSha256 = "sha256-4Jz57VjdQX+LJexEZau4pd8nIQPt0HGzCjHRj7uPox4="; + vendorSha256 = "sha256-ePEpc18Y99Moe/aj8n1+no6D70vZoIEjC023Uup98Uo="; doCheck = false; From 0e29df81b43081a5e445cefcc1fa9603b24f3aad Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 02:33:45 +0000 Subject: [PATCH 13/69] bazel-gazelle: 0.21.1 -> 0.24.0 --- pkgs/development/tools/bazel-gazelle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/bazel-gazelle/default.nix b/pkgs/development/tools/bazel-gazelle/default.nix index a3838283c5eb..f78125ae990b 100644 --- a/pkgs/development/tools/bazel-gazelle/default.nix +++ b/pkgs/development/tools/bazel-gazelle/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "bazel-gazelle"; - version = "0.21.1"; + version = "0.24.0"; src = fetchFromGitHub { owner = "bazelbuild"; repo = pname; rev = "v${version}"; - sha256 = "12ffrildgx4lah7bdnhr7i8z5jp05lll6gmmpzshmzz8dsgf39y4"; + sha256 = "sha256-WWAOhV1H/OnARjhoWQYNmd9/y8pD3bRkhncmzt/36mA="; }; vendorSha256 = null; From b358e1c0cf8df0a8341dac2dd78a1fe25a790f30 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 03:04:12 +0000 Subject: [PATCH 14/69] sdrangel: 6.17.1 -> 6.17.2 --- pkgs/applications/radio/sdrangel/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix index 4c22d0e9325e..2ba379400382 100644 --- a/pkgs/applications/radio/sdrangel/default.nix +++ b/pkgs/applications/radio/sdrangel/default.nix @@ -33,13 +33,13 @@ mkDerivation rec { pname = "sdrangel"; - version = "6.17.1"; + version = "6.17.2"; src = fetchFromGitHub { owner = "f4exb"; repo = "sdrangel"; rev = "v${version}"; - sha256 = "sha256-VWHFrgJVyI3CtLXUiG3/4/cRTD8jSdunbrro34yLKvs="; + sha256 = "sha256-sMD2JTJJlssMdXCUHdFYjEqGknhGGuG4szfnvFFN7t4="; fetchSubmodules = false; }; From 55e95c242d80e8b5e870efdcc19744d652cf7b74 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 29 Oct 2021 05:53:18 +0000 Subject: [PATCH 15/69] cargo-tarpaulin: 0.18.2 -> 0.18.3 --- pkgs/development/tools/analysis/cargo-tarpaulin/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/cargo-tarpaulin/default.nix b/pkgs/development/tools/analysis/cargo-tarpaulin/default.nix index bb06e269aeb1..6402f90d5676 100644 --- a/pkgs/development/tools/analysis/cargo-tarpaulin/default.nix +++ b/pkgs/development/tools/analysis/cargo-tarpaulin/default.nix @@ -2,13 +2,13 @@ rustPlatform.buildRustPackage rec { pname = "cargo-tarpaulin"; - version = "0.18.2"; + version = "0.18.3"; src = fetchFromGitHub { owner = "xd009642"; repo = "tarpaulin"; rev = version; - sha256 = "sha256-3ep90G6LW83XGyS9b465u8/SznJRZBhEV/YQU8fua1s="; + sha256 = "sha256-n43n9rmLWmGF7JXz/jspT6Stn0fQnkbkxqbuqXiZLHA="; }; nativeBuildInputs = [ @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ curl Security ]; - cargoSha256 = "sha256-UtFGuJ6HEUtonH43iuum1hrhnYesQpkyqPTVcqWAoiA="; + cargoSha256 = "sha256-dJey7z0gRUu5MRKOfR909eQNTt3zpZnoWYvRhHzZlGs="; #checkFlags = [ "--test-threads" "1" ]; doCheck = false; From eb283a9a3e37fd9910b8d6ccaf00974f50ff68a8 Mon Sep 17 00:00:00 2001 From: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> Date: Sun, 31 Oct 2021 08:31:59 +0200 Subject: [PATCH 16/69] rbw: 1.4.0 -> 1.4.1 --- pkgs/tools/security/rbw/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/rbw/default.nix b/pkgs/tools/security/rbw/default.nix index c799c9b2a871..0b291afd7eff 100644 --- a/pkgs/tools/security/rbw/default.nix +++ b/pkgs/tools/security/rbw/default.nix @@ -26,15 +26,15 @@ rustPlatform.buildRustPackage rec { pname = "rbw"; - version = "1.4.0"; + version = "1.4.1"; src = fetchCrate { inherit version; crateName = pname; - sha256 = "sha256-6O33rn/MTo7Dymwh57xQJ5v7n4yNSoICyR9gRwF4AH4="; + sha256 = "sha256-RNdxAp3Q/xNrK1XcKZPMfuqxWzDtdhwT+nqG25SjJhI="; }; - cargoSha256 = "sha256-BrjKUovVV6BDZXtILVC0qaAF5xzE3715u9w9OYIJFbk="; + cargoSha256 = "sha256-I0KwHCmfYxgSF5IMHiPooaf2bypd6eYCOPSB+qnEBJY="; nativeBuildInputs = [ pkg-config From 130706b23ce9eb8b0a6992ab6bb98c72a9724dda Mon Sep 17 00:00:00 2001 From: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> Date: Sun, 31 Oct 2021 09:01:49 +0200 Subject: [PATCH 17/69] rbw: Add git-credential-helper --- pkgs/tools/security/rbw/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/tools/security/rbw/default.nix b/pkgs/tools/security/rbw/default.nix index 0b291afd7eff..3a8af973cf7a 100644 --- a/pkgs/tools/security/rbw/default.nix +++ b/pkgs/tools/security/rbw/default.nix @@ -22,6 +22,9 @@ # pass-import , withPass ? false , pass + + # git-credential-helper +, withGitCredential ? false }: rustPlatform.buildRustPackage rec { @@ -58,6 +61,10 @@ rustPlatform.buildRustPackage rec { patchShebangs bin/pass-import substituteInPlace bin/pass-import \ --replace pass ${pass}/bin/pass + '' + lib.optionalString withGitCredential '' + patchShebangs bin/git-credential-rbw + substituteInPlace bin/git-credential-rbw \ + --replace rbw $out/bin/rbw ''; preConfigure = '' @@ -76,6 +83,8 @@ rustPlatform.buildRustPackage rec { cp bin/rbw-rofi $out/bin '' + lib.optionalString withPass '' cp bin/pass-import $out/bin + '' + lib.optionalString withGitCredential '' + cp bin/git-credential-rbw $out/bin ''; meta = with lib; { From ee4e6a9d07276a316621707ce25242d814486d93 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 1 Nov 2021 04:20:00 +0000 Subject: [PATCH 18/69] rclone: 1.56.2 -> 1.57.0 --- pkgs/applications/networking/sync/rclone/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix index 8022c48a5c2e..f9fbb071b06a 100644 --- a/pkgs/applications/networking/sync/rclone/default.nix +++ b/pkgs/applications/networking/sync/rclone/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "rclone"; - version = "1.56.2"; + version = "1.57.0"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-cEh1SgIOgX04ECEF0K2pvwJdugapoUzh8xbboRaMdTs="; + sha256 = "0pwbprbkx5y0c93b61k8znan4aimk7dkssapjhkhzw4c38xd4lza"; }; - vendorSha256 = "sha256-wQYVn8yGDIYlnlVTS7tiLEMwkNLF6p3OcY35nw1mvA8="; + vendorSha256 = "0353pff07lwpa1jmi095kb2izcw09z73x6nninnnpyqppwzas6ha"; subPackages = [ "." ]; From f47f64866e8424580f6e595498b3f4bbc4e99a5a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 1 Nov 2021 04:20:00 +0000 Subject: [PATCH 19/69] public-sans: 1.008 -> 2.000 https://github.com/uswds/public-sans/releases/tag/v2.000 --- pkgs/data/fonts/public-sans/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/data/fonts/public-sans/default.nix b/pkgs/data/fonts/public-sans/default.nix index 7d7a81ec7e73..88da0cb5d558 100644 --- a/pkgs/data/fonts/public-sans/default.nix +++ b/pkgs/data/fonts/public-sans/default.nix @@ -1,7 +1,7 @@ { lib, fetchzip }: let - version = "1.008"; + version = "2.000"; in fetchzip { name = "public-sans-${version}"; @@ -9,14 +9,11 @@ in fetchzip { postFetch = '' mkdir -p $out/share/fonts - unzip -j $downloadedFile binaries/otf/\*.otf -d $out/share/fonts/opentype - unzip -j $downloadedFile binaries/variable/\*.ttf -d $out/share/fonts/truetype - unzip -j $downloadedFile binaries/webfonts/\*.ttf -d $out/share/fonts/truetype - unzip -j $downloadedFile binaries/webfonts/\*.woff -d $out/share/fonts/woff - unzip -j $downloadedFile binaries/webfonts/\*.woff2 -d $out/share/fonts/woff2 + unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype ''; - sha256 = "1s4xmliri3r1gcn1ws3wa6davj6giliqjdbcv0bh9ryg3dfpjz74"; + sha256 = "0r34h9mim5c3h48cpq2m2ixkdqhv3i594pip10pavkmskldpbha5"; meta = with lib; { description = "A strong, neutral, principles-driven, open source typeface for text or display"; From c52becb91c9db8049f20122a6fcd537640417692 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Mon, 1 Nov 2021 04:20:00 +0000 Subject: [PATCH 20/69] tflint: 0.33.0 -> 0.33.1 https://github.com/terraform-linters/tflint/releases/tag/v0.33.1 --- pkgs/development/tools/analysis/tflint/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/tflint/default.nix b/pkgs/development/tools/analysis/tflint/default.nix index f287d10ff42d..3d5eec0d9373 100644 --- a/pkgs/development/tools/analysis/tflint/default.nix +++ b/pkgs/development/tools/analysis/tflint/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "tflint"; - version = "0.33.0"; + version = "0.33.1"; src = fetchFromGitHub { owner = "terraform-linters"; repo = pname; rev = "v${version}"; - sha256 = "1cq84ggp32xx79sgrxyqysqs34lhzyv8jdg7d46d9hdvjcwjb5af"; + sha256 = "1n1xw2h544r6bap2drgrip9i8nl5zg5gcdic8qj3y93ppisgzqml"; }; - vendorSha256 = "1ay3vf4dqlbizq98nxz2cgi67ck1c6lw7wi28w56607qzbx0yvmg"; + vendorSha256 = "0fq4nbd0w1nb98g321mns76a60dwwhf4w7g589qz87z29vdy0jbk"; doCheck = false; From d2d72356b9a189d29aca59c680ac08da5523950f Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Mon, 1 Nov 2021 10:42:18 +0100 Subject: [PATCH 21/69] crowdin-cli: Add passthru.tests.version --- pkgs/tools/text/crowdin-cli/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/text/crowdin-cli/default.nix b/pkgs/tools/text/crowdin-cli/default.nix index 36b359365d54..72c7eccf1ad9 100644 --- a/pkgs/tools/text/crowdin-cli/default.nix +++ b/pkgs/tools/text/crowdin-cli/default.nix @@ -7,6 +7,8 @@ , installShellFiles , jre , makeWrapper +, crowdin-cli +, testVersion , unzip }: @@ -36,7 +38,10 @@ stdenv.mkDerivation rec { runHook postInstall ''; + passthru.tests.version = testVersion { package = crowdin-cli; }; + meta = with lib; { + mainProgram = "crowdin"; homepage = "https://github.com/crowdin/crowdin-cli/"; description = "A command-line client for the Crowdin API"; license = licenses.mit; From 08257057badaa1d536ef56cf8b3924b3a49b8bab Mon Sep 17 00:00:00 2001 From: mupdt <25388474+mupdt@users.noreply.github.com> Date: Mon, 1 Nov 2021 10:20:49 +0000 Subject: [PATCH 22/69] python3Packages.stashy: init at 0.7 --- .../python-modules/stashy/default.nix | 31 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/development/python-modules/stashy/default.nix diff --git a/pkgs/development/python-modules/stashy/default.nix b/pkgs/development/python-modules/stashy/default.nix new file mode 100644 index 000000000000..fa866cc26037 --- /dev/null +++ b/pkgs/development/python-modules/stashy/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildPythonPackage +, decorator +, fetchPypi +, pythonOlder +, requests + }: + +buildPythonPackage rec { + pname = "stashy"; + version = "0.7"; + disabled = pythonOlder "3.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "1x89zazwxnsx6rdfw8nfr372hj4sk8nrcs5hsjxpcxcva0calrcr"; + }; + + propagatedBuildInputs = [ decorator requests ]; + + # Tests require internet connection + doCheck = false; + pythonImportsCheck = [ "stashy" ]; + + meta = with lib; { + description = "Python client for the Atlassian Bitbucket Server (formerly known as Stash) REST API."; + homepage = "https://github.com/cosmin/stashy"; + license = licenses.asl20; + maintainers = with maintainers; [ mupdt ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bab1fb4af2c2..314dc9108a59 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8713,6 +8713,8 @@ in { starline = callPackage ../development/python-modules/starline { }; + stashy = callPackage ../development/python-modules/stashy { }; + staticjinja = callPackage ../development/python-modules/staticjinja { }; statistics = callPackage ../development/python-modules/statistics { }; From c1ef30de63c3101620fd61211a5cdac1c8054c03 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 2 Nov 2021 12:19:33 +0100 Subject: [PATCH 23/69] mercurial: 5.9.1 -> 5.9.3 --- pkgs/applications/version-management/mercurial/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix index 3780be96fd6f..eea3e7afb774 100644 --- a/pkgs/applications/version-management/mercurial/default.nix +++ b/pkgs/applications/version-management/mercurial/default.nix @@ -13,11 +13,11 @@ let self = python3Packages.buildPythonApplication rec { pname = "mercurial"; - version = "5.9.1"; + version = "5.9.3"; src = fetchurl { url = "https://mercurial-scm.org/release/mercurial-${version}.tar.gz"; - sha256 = "09wzyhyajy1dbp5kxkmvs9x8jk964wri19p5jgf83mv27i1zkvrj"; + sha256 = "sha256-O0P2iXetD6dap/HlyPCoO6k1YhqyOWEpq7SY5W0b4I4="; }; format = "other"; @@ -27,7 +27,7 @@ let cargoDeps = if rustSupport then rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "1f7q0kmp46rphw38rlzh1yvpn3rdjdnzzbxzjkrjks8n1gm8baca"; + sha256 = "sha256:1d911jaawdrcv2mdhlp2ylr10791zj7dhb69aiw5yy7vn7gry82n"; sourceRoot = "${pname}-${version}/rust"; } else null; cargoRoot = if rustSupport then "rust" else null; From 14c13a6a77e6818ecb630c4990238c25170e1580 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sun, 24 Oct 2021 00:29:12 +0200 Subject: [PATCH 24/69] citra: devendor some packages and other improvements --- pkgs/misc/emulators/citra/default.nix | 69 +++++++++++++++++++++++---- 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/pkgs/misc/emulators/citra/default.nix b/pkgs/misc/emulators/citra/default.nix index 5efe27770b60..c1d4724cee9b 100644 --- a/pkgs/misc/emulators/citra/default.nix +++ b/pkgs/misc/emulators/citra/default.nix @@ -1,27 +1,76 @@ -{ mkDerivation, lib, fetchgit, cmake, SDL2, qtbase, qtmultimedia, boost -, wrapQtAppsHook }: +{ lib +, stdenv +, fetchFromGitHub +, cmake +, wrapQtAppsHook +, SDL2 +, qtbase +, qtmultimedia +, boost17x +, libpulseaudio +, pkg-config +, libusb1 +, zstd +, libressl +, alsa-lib +, rapidjson +, aacHleDecoding ? true +, fdk_aac +, ffmpeg-full +}: -mkDerivation { +stdenv.mkDerivation { pname = "citra"; version = "2021-11-01"; - # Submodules - src = fetchgit { - url = "https://github.com/citra-emu/citra"; + src = fetchFromGitHub { + owner = "citra-emu"; + repo = "citra"; rev = "5a7d80172dd115ad9bc6e8e85cee6ed9511c48d0"; sha256 = "sha256-vy2JMizBsnRK9NBEZ1dxT7fP/HFhOZSsC+5P+Dzi27s="; + fetchSubmodules = true; }; - nativeBuildInputs = [ cmake wrapQtAppsHook ]; - buildInputs = [ SDL2 qtbase qtmultimedia boost ]; + nativeBuildInputs = [ cmake wrapQtAppsHook pkg-config ]; + buildInputs = [ + SDL2 + qtbase + qtmultimedia + libpulseaudio + boost17x + libusb1 + alsa-lib + rapidjson # for discord-rpc + ] ++ lib.optional aacHleDecoding [ fdk_aac ffmpeg-full ]; + + cmakeFlags = [ + "-DUSE_SYSTEM_BOOST=ON" + "-DUSE_DISCORD_PRESENCE=ON" + ] ++ lib.optionals aacHleDecoding [ + "-DENABLE_FFMPEG_AUDIO_DECODER=ON" + "-DCITRA_USE_BUNDLED_FFMPEG=OFF" + ]; + + postPatch = '' + # we already know the submodules are present + substituteInPlace CMakeLists.txt \ + --replace "check_submodules_present()" "" - preConfigure = '' # Trick configure system. sed -n 's,^ *path = \(.*\),\1,p' .gitmodules | while read path; do - mkdir "$path/.git" + mkdir "$path/.git" done + + rm -rf externals/zstd externals/libressl + cp -r ${zstd.src} externals/zstd + tar xf ${libressl.src} -C externals/ + mv externals/${libressl.name} externals/libressl + chmod -R a+w externals/zstd ''; + # Todo: cubeb audio backend (the default one) doesn't work on the SDL interface. + # Note that the two interfaces have two separate configuration files. + meta = with lib; { homepage = "https://citra-emu.org"; description = "An open-source emulator for the Nintendo 3DS"; From 135ac287c21682418897c654a529c8dd33ff47ba Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 2 Nov 2021 23:00:22 +0000 Subject: [PATCH 25/69] barrier: 2.3.3 -> 2.4.0 --- pkgs/applications/misc/barrier/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/barrier/default.nix b/pkgs/applications/misc/barrier/default.nix index b9dbcf529be1..63a04d181156 100644 --- a/pkgs/applications/misc/barrier/default.nix +++ b/pkgs/applications/misc/barrier/default.nix @@ -5,13 +5,13 @@ mkDerivation rec { pname = "barrier"; - version = "2.3.3"; + version = "2.4.0"; src = fetchFromGitHub { owner = "debauchee"; repo = pname; rev = "v${version}"; - sha256 = "11vqkzpcjiv3pq6ps022223j6skgm1d23dj18n4a5nsf53wsvvp4"; + sha256 = "sha256-2tHqLF3zS3C4UnOVIZfpcuzaemC9++nC7lXgFnFSfKU="; fetchSubmodules = true; }; From 86acf2c00332b604eb9589cb5829a4497b083977 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 00:13:33 +0000 Subject: [PATCH 26/69] catatonit: 0.1.6 -> 0.1.7 --- pkgs/applications/virtualization/catatonit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/catatonit/default.nix b/pkgs/applications/virtualization/catatonit/default.nix index e311be68ab8c..2a9fbdbd27f1 100644 --- a/pkgs/applications/virtualization/catatonit/default.nix +++ b/pkgs/applications/virtualization/catatonit/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "catatonit"; - version = "0.1.6"; + version = "0.1.7"; src = fetchFromGitHub { owner = "openSUSE"; repo = pname; rev = "v${version}"; - sha256 = "sha256-hokG6o7toZxU984EvIlne33Aa2EZVZ3qu1jTZMm5nt4="; + sha256 = "sha256-jX4fYC/rpfd3ro2UZ6OEu4kU5wpusOwmEVPWEjxwlW4="; }; nativeBuildInputs = [ autoreconfHook ]; From 7dc381394514ad503b969df49ad0a0aa81662537 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 2 Nov 2021 20:17:21 -0400 Subject: [PATCH 27/69] cargo-edit: 0.7.0 -> 0.8.0 --- .../package-management/cargo-edit/default.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/package-management/cargo-edit/default.nix b/pkgs/tools/package-management/cargo-edit/default.nix index de5abca29bec..c5e60fb88fd6 100644 --- a/pkgs/tools/package-management/cargo-edit/default.nix +++ b/pkgs/tools/package-management/cargo-edit/default.nix @@ -1,26 +1,26 @@ -{ stdenv -, lib +{ lib , rustPlatform , fetchFromGitHub , pkg-config , openssl +, zlib +, stdenv , libiconv , Security -, zlib }: rustPlatform.buildRustPackage rec { pname = "cargo-edit"; - version = "0.7.0"; + version = "0.8.0"; src = fetchFromGitHub { owner = "killercup"; repo = pname; rev = "v${version}"; - hash = "sha256:0fh1lq793k4ddpqsf2av447hcb74vcq53afkm3g4672k48mjjw1y"; + hash = "sha256-n9Ei1kpbDqOogNJJVvg9DRAPMVGNChCGGiuCVsuK3/8="; }; - cargoSha256 = "0ah3zjx36ibax4gi66g13finh4m2k0aidxkg2nxx1c2aqj847mm1"; + cargoSha256 = "sha256-6546jD+zDoScrJmpw5xtNdWeIPJ9Ma0bcIdnI1kFmu8="; nativeBuildInputs = [ pkg-config ]; @@ -34,7 +34,8 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A utility for managing cargo dependencies from the command line"; homepage = "https://github.com/killercup/cargo-edit"; + changelog = "https://github.com/killercup/cargo-edit/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; - maintainers = with maintainers; [ gerschtli jb55 Br1ght0ne killercup ]; + maintainers = with maintainers; [ Br1ght0ne figsoda gerschtli jb55 killercup ]; }; } From 3cd603dc6d17e9d1b48682dae1ecfe49fb1ea259 Mon Sep 17 00:00:00 2001 From: Ivan Kozik Date: Tue, 5 Oct 2021 22:23:35 +0000 Subject: [PATCH 28/69] libsixel: 1.10.1 -> 1.10.3 Remove the libbsd dependency, as it is no longer used since https://github.com/libsixel/libsixel/pull/34 --- pkgs/development/libraries/libsixel/default.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/pkgs/development/libraries/libsixel/default.nix b/pkgs/development/libraries/libsixel/default.nix index 549f4385fa56..d4fa2a4d6ffe 100644 --- a/pkgs/development/libraries/libsixel/default.nix +++ b/pkgs/development/libraries/libsixel/default.nix @@ -3,33 +3,24 @@ , fetchFromGitHub , meson , ninja -, libbsd , gdk-pixbuf , gd , libjpeg , pkg-config -, fetchpatch }: stdenv.mkDerivation rec { pname = "libsixel"; - version = "1.10.1"; + version = "1.10.3"; src = fetchFromGitHub { owner = "libsixel"; repo = "libsixel"; rev = "v${version}"; - sha256 = "sha256-ACypJTFjXSzBjo4hQzUiJOqnaRaZnYX+/NublN9sbBo="; + sha256 = "1nny4295ipy4ajcxmmh04c796hcds0y7z7rv3qd17mj70y8j0r2d"; }; - patches = [ - (fetchpatch { - url = "https://github.com/libsixel/libsixel/commit/4d3e53ee007f3b71f638875f9fabbba658b2ca8a.patch"; - sha256 = "sha256-iDfsTyUczjtzV3pt1ZErbhVO2rMm2ZYKWSBl+ru+5HA="; - }) - ]; - buildInputs = [ - libbsd gdk-pixbuf gd + gdk-pixbuf gd ]; nativeBuildInputs = [ From 847b97220e4b905050ecd8821fc9bf3f0717b0eb Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Wed, 3 Nov 2021 09:40:04 +0800 Subject: [PATCH 29/69] pantheon-tweaks: 1.0.1 -> 1.0.2 --- .../applications/system/pantheon-tweaks/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/system/pantheon-tweaks/default.nix b/pkgs/applications/system/pantheon-tweaks/default.nix index 5834e8d96308..67e1bb32aeab 100644 --- a/pkgs/applications/system/pantheon-tweaks/default.nix +++ b/pkgs/applications/system/pantheon-tweaks/default.nix @@ -14,13 +14,13 @@ stdenv.mkDerivation rec { pname = "pantheon-tweaks"; - version = "1.0.1"; + version = "1.0.2"; src = fetchFromGitHub { owner = "pantheon-tweaks"; repo = pname; rev = version; - sha256 = "sha256-tAfDxX/RD7pO5PN/LaZ92Cj/iZtBI/EHb0+pORfYnPM="; + sha256 = "sha256-2spZ6RQ5PhBNrv/xG1TNbYsJrmuRpaZ72CeH2s8+P8g="; }; patches = [ @@ -38,9 +38,12 @@ stdenv.mkDerivation rec { buildInputs = [ gtk3 libgee - pantheon.granite - pantheon.switchboard - ]; + ] ++ (with pantheon; [ + elementary-files # settings schemas + elementary-terminal # settings schemas + granite + switchboard + ]); postPatch = '' chmod +x meson/post_install.py From 664330fc5cd670d2a3bf15db89664f9222aea011 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 02:25:33 +0000 Subject: [PATCH 30/69] exoscale-cli: 1.45.2 -> 1.46.0 --- pkgs/tools/admin/exoscale-cli/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/admin/exoscale-cli/default.nix b/pkgs/tools/admin/exoscale-cli/default.nix index 6c0a3e3bbd31..af2500083304 100644 --- a/pkgs/tools/admin/exoscale-cli/default.nix +++ b/pkgs/tools/admin/exoscale-cli/default.nix @@ -2,13 +2,13 @@ buildGoPackage rec { pname = "exoscale-cli"; - version = "1.45.2"; + version = "1.46.0"; src = fetchFromGitHub { owner = "exoscale"; repo = "cli"; rev = "v${version}"; - sha256 = "sha256-bzm8UNFWAXHBdarovNMyARW2xA4tSXIgIHpxROx4nOI="; + sha256 = "sha256-dWbuzzFCBJuSUUQFXY3axK+T9rsMaIMOCKa0ig96bJE="; }; goPackagePath = "github.com/exoscale/cli"; From 5ca614d3973e7ed769c6166c77a0ed526ab7aacf Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 03:40:48 +0000 Subject: [PATCH 31/69] github-runner: 2.283.3 -> 2.284.0 --- .../tools/continuous-integration/github-runner/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/continuous-integration/github-runner/default.nix b/pkgs/development/tools/continuous-integration/github-runner/default.nix index d9d7cfd55442..97312c835f51 100644 --- a/pkgs/development/tools/continuous-integration/github-runner/default.nix +++ b/pkgs/development/tools/continuous-integration/github-runner/default.nix @@ -37,13 +37,13 @@ let in stdenv.mkDerivation rec { pname = "github-runner"; - version = "2.283.3"; + version = "2.284.0"; src = fetchFromGitHub { owner = "actions"; repo = "runner"; rev = "v${version}"; - sha256 = "sha256-B2dn3AIGk+xMFqRsKv4pvlZ6K4xySsS0klk8vN8giso="; + sha256 = "sha256-JR0OzbT5gGhO/dxb/eSjP/d/VxW/aLmTs/oPwN8b8Rc="; }; nativeBuildInputs = [ From 893f2ce061d709b97071adeb016d5b310a2475f4 Mon Sep 17 00:00:00 2001 From: notquiteamonad <44178347+notquiteamonad@users.noreply.github.com> Date: Tue, 1 Jun 2021 20:05:53 +0100 Subject: [PATCH 32/69] markdownlint-cli2: init at 0.1.3 --- pkgs/development/node-packages/node-packages.json | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index a503974d5fca..474f50a032cb 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -177,6 +177,7 @@ , "lua-fmt" , "madoko" , "markdownlint-cli" +, "markdownlint-cli2" , "markdown-link-check" , {"markdown-preview-nvim": "../../misc/vim-plugins/markdown-preview-nvim"} , "mastodon-bot" From 39e0f14d1b3493ff37f3166eb9c69c4fdac0bd76 Mon Sep 17 00:00:00 2001 From: jacobi petrucciani Date: Thu, 28 Oct 2021 17:28:12 -0400 Subject: [PATCH 33/69] nodePackages.concurrently: init at 6.3.0 --- pkgs/development/node-packages/node-packages.json | 1 + pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 474f50a032cb..e113d075f17d 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -79,6 +79,7 @@ , "code-theme-converter" , "coffee-script" , "coinmon" +, "concurrently" , "configurable-http-proxy" , "conventional-changelog-cli" , "cordova" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f848cfac2582..4bd281d5d4c0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1469,6 +1469,8 @@ with pkgs; inherit (nodePackages) bitwarden-cli; + inherit (nodePackages) concurrently; + inherit (nodePackages) hyperspace-cli; bklk = callPackage ../applications/misc/bklk { }; From f2ef8b5296cd5a2a28f03ded6a7d696d8bc168e6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 05:26:55 +0000 Subject: [PATCH 34/69] iotop-c: 1.19 -> 1.20 --- pkgs/os-specific/linux/iotop-c/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/iotop-c/default.nix b/pkgs/os-specific/linux/iotop-c/default.nix index ea40ff79f64a..680bc53bd91b 100644 --- a/pkgs/os-specific/linux/iotop-c/default.nix +++ b/pkgs/os-specific/linux/iotop-c/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "iotop-c"; - version = "1.19"; + version = "1.20"; src = fetchFromGitHub { owner = "Tomas-M"; repo = "iotop"; rev = "v${version}"; - sha256 = "sha256-CuZwOIhjl6fpEvfw/4CTjKQkxazLL/NGujmNcx1Jrbc="; + sha256 = "sha256-6Pg2CLWzsD6EPRKD2xMMgKFkpbSheiMMkd0BvHh9onA="; }; nativeBuildInputs = [ pkg-config ]; From 173b63fc86e62dea0c8ccbcdbfb56b55e4ed6c54 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 06:35:26 +0000 Subject: [PATCH 35/69] k0sctl: 0.10.4 -> 0.11.4 --- pkgs/applications/networking/cluster/k0sctl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/k0sctl/default.nix b/pkgs/applications/networking/cluster/k0sctl/default.nix index b552af837bd0..689922515de5 100644 --- a/pkgs/applications/networking/cluster/k0sctl/default.nix +++ b/pkgs/applications/networking/cluster/k0sctl/default.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "k0sctl"; - version = "0.10.4"; + version = "0.11.4"; src = fetchFromGitHub { owner = "k0sproject"; repo = pname; rev = "v${version}"; - sha256 = "sha256-22jZWRnymIYN1LlGOo8abVx8DTUe9VK1xAHddLknt6A="; + sha256 = "sha256-Fk1aYSa3LqzxiHtlzH5pcNtodOprjfnCFh4UMqCa6Rc="; }; vendorSha256 = "sha256-N4cU9wzBRZn71mZHkNDXKgSXvlN2QFS6K4MtlR25DJc="; From 9d3df0b2ac0c425569234098da1db7e48b16f769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 3 Nov 2021 07:41:40 +0100 Subject: [PATCH 36/69] nixos/lxd: fix nftables switch #81172 breaking module --- nixos/modules/virtualisation/lxd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/lxd.nix b/nixos/modules/virtualisation/lxd.nix index 94cd22d1371c..18451b147ff5 100644 --- a/nixos/modules/virtualisation/lxd.nix +++ b/nixos/modules/virtualisation/lxd.nix @@ -34,7 +34,7 @@ in { package = mkOption { type = types.package; - default = pkgs.lxd.override { nftablesSupport = config.networking.nftables.enable; }; + default = pkgs.lxd; defaultText = literalExpression "pkgs.lxd"; description = '' The LXD package to use. From 7667f641c94d5d1780d8f920ea5352ab504b0960 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 03:58:26 +0200 Subject: [PATCH 37/69] systemd: disable systemd-udev-trigger.service in containers --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 77997ac76863..8fcf62d7fbff 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -42,7 +42,7 @@ let "systemd-udevd-kernel.socket" "systemd-udevd.service" "systemd-udev-settle.service" - "systemd-udev-trigger.service" + ] ++ (optional (!config.boot.isContainer) "systemd-udev-trigger.service") ++ [ # hwdb.bin is managed by NixOS # "systemd-hwdb-update.service" From d262f6f59361fbc9c232b8ed5483d3258b42497d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 04:25:21 +0200 Subject: [PATCH 38/69] virtualisation.lxc-container: overwrite tarball for lxd --- .../modules/virtualisation/lxc-container.nix | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index e47bd59dc016..a6f82e4436f3 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -7,6 +7,34 @@ with lib; ../profiles/docker-container.nix # FIXME, shouldn't include something from profiles/ ]; + system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { + extraArgs = "--owner=0"; + + storeContents = [ + config.system.build.toplevel + ]; + + contents = [ + { + source = pkgs.writeText "metadata.yaml" '' + architecture: ${builtins.elemAt (builtins.match "^([a-z0-9_]+).+" (toString pkgs.system)) 0} + creation_date: 0 + properties: + description: NixOS ${config.system.nixos.codeName} ${config.system.nixos.label} ${pkgs.system} + os: nixos + release: ${config.system.nixos.codeName} + ''; + target = "/metadata.yaml"; + } + { + source = config.system.build.toplevel + "/init"; + target = "/sbin/init"; + } + ]; + + extraCommands = "mkdir -p proc sys dev"; + }); + # Allow the user to login as root without password. users.users.root.initialHashedPassword = mkOverride 150 ""; From b9df9ca2c4bd21f89a1fcbfc3a1c9f65077fada2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 04:29:09 +0200 Subject: [PATCH 39/69] virtualisation.lxc: indent config --- .../modules/virtualisation/lxc-container.nix | 74 ++++++++++--------- 1 file changed, 38 insertions(+), 36 deletions(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index a6f82e4436f3..3b70ed14f550 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -7,48 +7,50 @@ with lib; ../profiles/docker-container.nix # FIXME, shouldn't include something from profiles/ ]; - system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { - extraArgs = "--owner=0"; + config = { + system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { + extraArgs = "--owner=0"; - storeContents = [ - config.system.build.toplevel - ]; + storeContents = [ + config.system.build.toplevel + ]; - contents = [ - { - source = pkgs.writeText "metadata.yaml" '' - architecture: ${builtins.elemAt (builtins.match "^([a-z0-9_]+).+" (toString pkgs.system)) 0} - creation_date: 0 - properties: - description: NixOS ${config.system.nixos.codeName} ${config.system.nixos.label} ${pkgs.system} - os: nixos - release: ${config.system.nixos.codeName} - ''; - target = "/metadata.yaml"; - } - { - source = config.system.build.toplevel + "/init"; - target = "/sbin/init"; - } - ]; + contents = [ + { + source = pkgs.writeText "metadata.yaml" '' + architecture: ${builtins.elemAt (builtins.match "^([a-z0-9_]+).+" (toString pkgs.system)) 0} + creation_date: 0 + properties: + description: NixOS ${config.system.nixos.codeName} ${config.system.nixos.label} ${pkgs.system} + os: nixos + release: ${config.system.nixos.codeName} + ''; + target = "/metadata.yaml"; + } + { + source = config.system.build.toplevel + "/init"; + target = "/sbin/init"; + } + ]; - extraCommands = "mkdir -p proc sys dev"; - }); + extraCommands = "mkdir -p proc sys dev"; + }); - # Allow the user to login as root without password. - users.users.root.initialHashedPassword = mkOverride 150 ""; + # Allow the user to login as root without password. + users.users.root.initialHashedPassword = mkOverride 150 ""; - # Some more help text. - services.getty.helpLine = - '' + # Some more help text. + services.getty.helpLine = + '' - Log in as "root" with an empty password. - ''; + Log in as "root" with an empty password. + ''; - # Containers should be light-weight, so start sshd on demand. - services.openssh.enable = mkDefault true; - services.openssh.startWhenNeeded = mkDefault true; + # Containers should be light-weight, so start sshd on demand. + services.openssh.enable = mkDefault true; + services.openssh.startWhenNeeded = mkDefault true; - # Allow ssh connections - networking.firewall.allowedTCPPorts = [ 22 ]; + # Allow ssh connections + networking.firewall.allowedTCPPorts = [ 22 ]; + }; } From caabd8933c90bf2d46a1121568bd42ffe1654bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 04:55:09 +0200 Subject: [PATCH 40/69] virtualisation.lxc: add support for lxd templates --- .../modules/virtualisation/lxc-container.nix | 86 ++++++++++++++++--- 1 file changed, 75 insertions(+), 11 deletions(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 3b70ed14f550..21824c72a8b9 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -1,37 +1,101 @@ -{ lib, ... }: +{ lib, config, pkgs, ... }: with lib; +let + templateSubmodule = { ... }: { + options = { + enable = mkEnableOption "this template"; + + target = mkOption { + description = "Path in the container"; + type = types.path; + }; + template = mkOption { + description = ".tpl file for rendering the target"; + type = types.path; + }; + when = mkOption { + description = "Events which trigger a rewrite (create, copy)"; + type = types.listOf (types.str); + }; + properties = mkOption { + description = "Additional properties"; + type = types.attrs; + default = {}; + }; + }; + }; + + toYAML = name: attrs: pkgs.runCommandNoCC name { + preferLocalBuild = true; + json = builtins.toFile "${name}.json" (builtins.toJSON attrs); + nativeBuildInputs = [ pkgs.remarshal ]; + } "json2yaml -i $json -o $out"; + + cfg = config.virtualisation.lxc; + templates = if cfg.templates != {} then let + list = mapAttrsToList (name: value: { inherit name; } // value) + (filterAttrs (name: value: value.enable) cfg.templates); + in + { + files = map (tpl: { + source = tpl.template; + target = "/templates/${tpl.name}.tpl"; + }) list; + properties = listToAttrs (map (tpl: nameValuePair tpl.target { + when = tpl.when; + template = "${tpl.name}.tpl"; + properties = tpl.properties; + }) list); + } + else { files = []; properties = {}; }; + +in { imports = [ ../profiles/docker-container.nix # FIXME, shouldn't include something from profiles/ ]; + options = { + virtualisation.lxc = { + templates = mkOption { + description = "Templates for LXD"; + type = types.attrsOf (types.submodule (templateSubmodule)); + }; + }; + }; + config = { system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { extraArgs = "--owner=0"; storeContents = [ - config.system.build.toplevel + { + object = config.system.build.toplevel; + symlink = "none"; + } ]; contents = [ { - source = pkgs.writeText "metadata.yaml" '' - architecture: ${builtins.elemAt (builtins.match "^([a-z0-9_]+).+" (toString pkgs.system)) 0} - creation_date: 0 - properties: - description: NixOS ${config.system.nixos.codeName} ${config.system.nixos.label} ${pkgs.system} - os: nixos - release: ${config.system.nixos.codeName} - ''; + source = toYAML "metadata.yaml" { + architecture = builtins.elemAt (builtins.match "^([a-z0-9_]+).+" (toString pkgs.system)) 0; + creation_date = 1; + properties = { + description = "NixOS ${config.system.nixos.codeName} ${config.system.nixos.label} ${pkgs.system}"; + os = "nixos"; + release = "${config.system.nixos.codeName}"; + }; + templates = templates.properties; + }; target = "/metadata.yaml"; } { source = config.system.build.toplevel + "/init"; target = "/sbin/init"; } - ]; + ] ++ templates.files; extraCommands = "mkdir -p proc sys dev"; }); From d203189dbfbd7a6887f1e85adbe2ac7fe579dfef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 04:59:24 +0200 Subject: [PATCH 41/69] virtualisation.lxc: use openFirewall instead of allowedTCPPorts --- nixos/modules/virtualisation/lxc-container.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 21824c72a8b9..2b45ddbc16a6 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -115,6 +115,6 @@ in services.openssh.startWhenNeeded = mkDefault true; # Allow ssh connections - networking.firewall.allowedTCPPorts = [ 22 ]; + services.openssh.openFirewall = mkDefault true; }; } From 1c7a7f198c319dbc1b67c6ad0124b9c6c5f34cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 05:09:30 +0200 Subject: [PATCH 42/69] virtualisation.lxc: split meta and root --- .../modules/virtualisation/lxc-container.nix | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 2b45ddbc16a6..9cc5c829e122 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -67,16 +67,7 @@ in }; config = { - system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { - extraArgs = "--owner=0"; - - storeContents = [ - { - object = config.system.build.toplevel; - symlink = "none"; - } - ]; - + system.build.metadata = pkgs.callPackage ../../lib/make-system-tarball.nix { contents = [ { source = toYAML "metadata.yaml" { @@ -91,11 +82,25 @@ in }; target = "/metadata.yaml"; } + ] ++ templates.files; + }; + + system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { + extraArgs = "--owner=0"; + + storeContents = [ + { + object = config.system.build.toplevel; + symlink = "none"; + } + ]; + + contents = [ { source = config.system.build.toplevel + "/init"; target = "/sbin/init"; } - ] ++ templates.files; + ]; extraCommands = "mkdir -p proc sys dev"; }); From 5ea329958a4c987003c8d738ea1d8b9ea4e70255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 05:32:50 +0200 Subject: [PATCH 43/69] virtualisation.lxc: add the overrides from distrobuilder --- nixos/modules/virtualisation/lxc-container.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 9cc5c829e122..d69ce4cf0bc2 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -105,6 +105,14 @@ in extraCommands = "mkdir -p proc sys dev"; }); + # Add the overrides from lxd distrobuilder + systemd.extraConfig = '' + [Service] + ProtectProc=default + ProtectControlGroups=no + ProtectKernelTunables=no + ''; + # Allow the user to login as root without password. users.users.root.initialHashedPassword = mkOverride 150 ""; From 9f66f9a669019b278f700849074228cffb3d6cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 28 Apr 2021 06:06:20 +0200 Subject: [PATCH 44/69] release.lxdImage: add lxdImage to hydra --- .../scripts/lxd/lxd-image-inner.nix | 99 +++++++++++++++++++ nixos/maintainers/scripts/lxd/lxd-image.nix | 34 +++++++ nixos/maintainers/scripts/lxd/nix.tpl | 9 ++ .../modules/virtualisation/lxc-container.nix | 4 + nixos/release.nix | 31 ++++++ 5 files changed, 177 insertions(+) create mode 100644 nixos/maintainers/scripts/lxd/lxd-image-inner.nix create mode 100644 nixos/maintainers/scripts/lxd/lxd-image.nix create mode 100644 nixos/maintainers/scripts/lxd/nix.tpl diff --git a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix new file mode 100644 index 000000000000..3084a37d33c8 --- /dev/null +++ b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix @@ -0,0 +1,99 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ config, pkgs, lib, ... }: + +with lib; + +{ + imports = + [ # Include the default lxd configuration. + # + ../../../modules/virtualisation/lxc-container.nix + # Include the container-specific autogenerated configuration. + ./lxd.nix + ]; + + # networking.hostName = mkForce "nixos"; # Overwrite the hostname. + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + + # Set your time zone. + # time.timeZone = "Europe/Amsterdam"; + + # The global useDHCP flag is deprecated, therefore explicitly set to false here. + # Per-interface useDHCP will be mandatory in the future, so this generated config + # replicates the default behaviour. + networking.useDHCP = false; + networking.interfaces.eth0.useDHCP = true; + + # Configure network proxy if necessary + # networking.proxy.default = "http://user:password@proxy:port/"; + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; + + # Select internationalisation properties. + # i18n.defaultLocale = "en_US.UTF-8"; + # console = { + # font = "Lat2-Terminus16"; + # keyMap = "us"; + # }; + + # Enable the X11 windowing system. + # services.xserver.enable = true; + + # Configure keymap in X11 + # services.xserver.layout = "us"; + # services.xserver.xkbOptions = "eurosign:e"; + + # Enable CUPS to print documents. + # services.printing.enable = true; + + # Enable sound. + # sound.enable = true; + # hardware.pulseaudio.enable = true; + + # Enable touchpad support (enabled default in most desktopManager). + # services.xserver.libinput.enable = true; + + # Define a user account. Don't forget to set a password with ‘passwd’. + # users.users.jane = { + # isNormalUser = true; + # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user. + # }; + + # List packages installed in system profile. To search, run: + # $ nix search wget + # environment.systemPackages = with pkgs; [ + # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + # wget + # firefox + # ]; + + # Some programs need SUID wrappers, can be configured further or are + # started in user sessions. + # programs.mtr.enable = true; + # programs.gnupg.agent = { + # enable = true; + # enableSSHSupport = true; + # }; + + # List services that you want to enable: + + # Enable the OpenSSH daemon. + # services.openssh.enable = true; + + # Open ports in the firewall. + # networking.firewall.allowedTCPPorts = [ ... ]; + # networking.firewall.allowedUDPPorts = [ ... ]; + # Or disable the firewall altogether. + # networking.firewall.enable = false; + + # This value determines the NixOS release from which the default + # settings for stateful data, like file locations and database versions + # on your system were taken. It‘s perfectly fine and recommended to leave + # this value at the release version of the first install of this system. + # Before changing this value read the documentation for this option + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). + system.stateVersion = "21.05"; # Did you read the comment? + +} diff --git a/nixos/maintainers/scripts/lxd/lxd-image.nix b/nixos/maintainers/scripts/lxd/lxd-image.nix new file mode 100644 index 000000000000..1615545e56b8 --- /dev/null +++ b/nixos/maintainers/scripts/lxd/lxd-image.nix @@ -0,0 +1,34 @@ +{ lib, config, pkgs, ... }: + +with lib; + +{ + imports = [ + ../../../modules/virtualisation/lxc-container.nix + ]; + + virtualisation.lxc.templates.nix = { + enable = true; + target = "/etc/nixos/lxd.nix"; + template = ./nix.tpl; + when = [ "create" "copy" ]; + }; + + # copy the config for nixos-rebuild + system.activationScripts.config = '' + if [ ! -e /etc/nixos/configuration.nix ]; then + mkdir -p /etc/nixos + cat ${./lxd-image-inner.nix} > /etc/nixos/configuration.nix + fi + ''; + + # Make lxc exec work properly + system.activationScripts.bash = '' + mkdir -p /bin + ln -sf /run/current-system/sw/bin/bash /bin/bash + ''; + + # Network + networking.useDHCP = false; + networking.interfaces.eth0.useDHCP = true; +} diff --git a/nixos/maintainers/scripts/lxd/nix.tpl b/nixos/maintainers/scripts/lxd/nix.tpl new file mode 100644 index 000000000000..307258ddc628 --- /dev/null +++ b/nixos/maintainers/scripts/lxd/nix.tpl @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: + +with lib; + +# WARNING: THIS CONFIGURATION IS AUTOGENERATED AND WILL BE OVERWRITTEN AUTOMATICALLY + +{ + networking.hostName = "{{ container.name }}"; +} diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index d69ce4cf0bc2..291f6a0fa40b 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -93,6 +93,10 @@ in object = config.system.build.toplevel; symlink = "none"; } + { + object = pkgs.stdenv; + symlink = "none"; + } ]; contents = [ diff --git a/nixos/release.nix b/nixos/release.nix index 264d82bacc8a..65395457ca35 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -251,6 +251,37 @@ in rec { ); + # An image that can be imported into lxd and used for container creation + lxdImage = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system: + + with import ./.. { inherit system; }; + + hydraJob ((import lib/eval-config.nix { + inherit system; + modules = + [ configuration + versionModule + ./maintainers/scripts/lxd/lxd-image.nix + ]; + }).config.system.build.tarball.content) # use .content because this is an override + + ); + + # Metadata for the lxd image + lxdMeta = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system: + + with import ./.. { inherit system; }; + + hydraJob ((import lib/eval-config.nix { + inherit system; + modules = + [ configuration + versionModule + ./maintainers/scripts/lxd/lxd-image.nix + ]; + }).config.system.build.metadata) + + ); # Ensure that all packages used by the minimal NixOS config end up in the channel. dummy = forAllSystems (system: pkgs.runCommand "dummy" From 681bd596618fb34fc3c033dd975e981c652a5b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Thu, 29 Apr 2021 08:55:45 +0200 Subject: [PATCH 45/69] virtualisation.lxc: apply changes from review --- .../modules/virtualisation/lxc-container.nix | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 291f6a0fa40b..bcf5adb02c24 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -62,6 +62,32 @@ in templates = mkOption { description = "Templates for LXD"; type = types.attrsOf (types.submodule (templateSubmodule)); + example = literalExample '' + { + # create /etc/hostname on container creation + "hostname" = { + enable = true; + target = "/etc/hostname"; + template = builtins.writeFile "hostname.tpl" "{{ container.name }}"; + when = [ "create" ]; + }; + # create /etc/nixos/hostname.nix with a configuration for keeping the hostname applied + "hostname-nix" = { + enable = true; + target = "/etc/nixos/hostname.nix"; + template = builtins.writeFile "hostname-nix.tpl" "{ ... }: { networking.hostName = "{{ container.name }}"; }"; + # copy keeps the file updated when the container is changed + when = [ "create" "copy" ]; + }; + # copy allow the user to specify a custom configuration.nix + "configuration-nix" = { + enable = true; + target = "/etc/nixos/configuration.nix"; + template = builtins.writeFile "configuration-nix" "{{ config_get(\"user.user-data\", properties.default) }}"; + when = [ "create" ]; + }; + }; + ''; }; }; }; @@ -93,10 +119,6 @@ in object = config.system.build.toplevel; symlink = "none"; } - { - object = pkgs.stdenv; - symlink = "none"; - } ]; contents = [ @@ -130,8 +152,5 @@ in # Containers should be light-weight, so start sshd on demand. services.openssh.enable = mkDefault true; services.openssh.startWhenNeeded = mkDefault true; - - # Allow ssh connections - services.openssh.openFirewall = mkDefault true; }; } From cc1e70f8390017c49051fee1c7a1c5b5fa0a4d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 19 Oct 2021 16:33:05 +0200 Subject: [PATCH 46/69] release-notes: add LXD support --- .../from_md/release-notes/rl-2111.section.xml | 19 +++++++++++++++++++ .../manual/release-notes/rl-2111.section.md | 4 ++++ 2 files changed, 23 insertions(+) diff --git a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml index 9f2578bb1810..4a134e42a0f9 100644 --- a/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml +++ b/nixos/doc/manual/from_md/release-notes/rl-2111.section.xml @@ -100,6 +100,25 @@ Notes for details. + + + LXD support was greatly improved: + + + + + building LXD images from configurations is now directly + possible with just nixpkgs + + + + + hydra is now building nixOS LXD images that can be used + standalone with full nixos-rebuild support + + + +
diff --git a/nixos/doc/manual/release-notes/rl-2111.section.md b/nixos/doc/manual/release-notes/rl-2111.section.md index 2067ac5b305c..1e815616f201 100644 --- a/nixos/doc/manual/release-notes/rl-2111.section.md +++ b/nixos/doc/manual/release-notes/rl-2111.section.md @@ -35,6 +35,10 @@ In addition to numerous new and upgraded packages, this release has the followin - GNOME has been upgraded to 41. Please take a look at their [Release Notes](https://help.gnome.org/misc/release-notes/41.0/) for details. +- LXD support was greatly improved: + - building LXD images from configurations is now directly possible with just nixpkgs + - hydra is now building nixOS LXD images that can be used standalone with full nixos-rebuild support + ## New Services {#sec-release-21.11-new-services} - [btrbk](https://digint.ch/btrbk/index.html), a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Available as [services.btrbk](options.html#opt-services.brtbk.instances). From 8eac2a669a4c2ac78e4f1a571c9aead2767db507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Fri, 30 Apr 2021 21:53:01 +0200 Subject: [PATCH 47/69] virtualisation.lxc: add default for .templates --- nixos/modules/virtualisation/lxc-container.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index bcf5adb02c24..32222e2793b9 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -62,6 +62,7 @@ in templates = mkOption { description = "Templates for LXD"; type = types.attrsOf (types.submodule (templateSubmodule)); + default = {}; example = literalExample '' { # create /etc/hostname on container creation From fec499bb98f4f989c0bff7d6304fba1c9b79ab99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sat, 1 May 2021 00:23:45 +0200 Subject: [PATCH 48/69] virtualisation.lxc: replace /sbin/init on switch in the future maybe a proper shim-bootloader could be used that supports switching out /sbin/init (so nixos-rebuild boot would just switch the link) --- nixos/modules/virtualisation/lxc-container.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 32222e2793b9..8e7eeb3525f3 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -143,6 +143,10 @@ in # Allow the user to login as root without password. users.users.root.initialHashedPassword = mkOverride 150 ""; + system.activationScripts.installInitScript = mkForce '' + ln -fs $systemConfig/init /sbin/init + ''; + # Some more help text. services.getty.helpLine = '' From 3c3349e24bb80c3561ce2b3cdf6e0c543830aa6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sat, 1 May 2021 00:47:56 +0200 Subject: [PATCH 49/69] lxdImage: enable docs & xlibs in standalone image --- nixos/maintainers/scripts/lxd/lxd-image-inner.nix | 4 ++++ nixos/maintainers/scripts/lxd/lxd-image.nix | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix index 3084a37d33c8..f57cacfce5e6 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix @@ -96,4 +96,8 @@ with lib; # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "21.05"; # Did you read the comment? + # As this is intended as a stadalone image, undo some of the minimal profile stuff + documentation.enable = true; + documentation.nixos.enable = true; + environment.noXlibs = false; } diff --git a/nixos/maintainers/scripts/lxd/lxd-image.nix b/nixos/maintainers/scripts/lxd/lxd-image.nix index 1615545e56b8..c09f9e3a9e25 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image.nix @@ -31,4 +31,9 @@ with lib; # Network networking.useDHCP = false; networking.interfaces.eth0.useDHCP = true; + + # As this is intended as a stadalone image, undo some of the minimal profile stuff + documentation.enable = true; + documentation.nixos.enable = true; + environment.noXlibs = false; } From a797967cecf8414a382aaf95a96f21f6871e4a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 19 Oct 2021 16:50:51 +0200 Subject: [PATCH 50/69] lxdImage: split from docker profile, use generators.toYAML --- .../modules/virtualisation/lxc-container.nix | 28 +++++++++++++------ nixos/release.nix | 2 +- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index 8e7eeb3525f3..fb0187aabccf 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -27,11 +27,7 @@ let }; }; - toYAML = name: attrs: pkgs.runCommandNoCC name { - preferLocalBuild = true; - json = builtins.toFile "${name}.json" (builtins.toJSON attrs); - nativeBuildInputs = [ pkgs.remarshal ]; - } "json2yaml -i $json -o $out"; + toYAML = name: data: pkgs.writeText name (generators.toYAML {} data); cfg = config.virtualisation.lxc; templates = if cfg.templates != {} then let @@ -54,7 +50,9 @@ let in { imports = [ - ../profiles/docker-container.nix # FIXME, shouldn't include something from profiles/ + ../installer/cd-dvd/channel.nix + ../profiles/minimal.nix + ../profiles/clone-config.nix ]; options = { @@ -94,6 +92,20 @@ in }; config = { + boot.isContainer = true; + boot.postBootCommands = + '' + # After booting, register the contents of the Nix store in the Nix + # database. + if [ -f /nix-path-registration ]; then + ${config.nix.package.out}/bin/nix-store --load-db < /nix-path-registration && + rm /nix-path-registration + fi + + # nixos-rebuild also requires a "system" profile + ${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system + ''; + system.build.metadata = pkgs.callPackage ../../lib/make-system-tarball.nix { contents = [ { @@ -112,7 +124,7 @@ in ] ++ templates.files; }; - system.build.tarball = mkForce (pkgs.callPackage ../../lib/make-system-tarball.nix { + system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix { extraArgs = "--owner=0"; storeContents = [ @@ -130,7 +142,7 @@ in ]; extraCommands = "mkdir -p proc sys dev"; - }); + }; # Add the overrides from lxd distrobuilder systemd.extraConfig = '' diff --git a/nixos/release.nix b/nixos/release.nix index 65395457ca35..6b7564a9b972 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -263,7 +263,7 @@ in rec { versionModule ./maintainers/scripts/lxd/lxd-image.nix ]; - }).config.system.build.tarball.content) # use .content because this is an override + }).config.system.build.tarball) ); From 1c31f8db6ae8437da737ccc9276d9a95450f5d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Tue, 19 Oct 2021 17:27:01 +0200 Subject: [PATCH 51/69] nixosTest.lxdImage: add lxdImage test --- .../scripts/lxd/lxd-image-inner.nix | 1 - nixos/maintainers/scripts/lxd/lxd-image.nix | 7 +- .../modules/virtualisation/lxc-container.nix | 1 + nixos/tests/all-tests.nix | 1 + nixos/tests/lxd-image.nix | 91 +++++++++++++++++++ 5 files changed, 94 insertions(+), 7 deletions(-) create mode 100644 nixos/tests/lxd-image.nix diff --git a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix index f57cacfce5e6..74634fd1671c 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image-inner.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image-inner.nix @@ -9,7 +9,6 @@ with lib; { imports = [ # Include the default lxd configuration. - # ../../../modules/virtualisation/lxc-container.nix # Include the container-specific autogenerated configuration. ./lxd.nix diff --git a/nixos/maintainers/scripts/lxd/lxd-image.nix b/nixos/maintainers/scripts/lxd/lxd-image.nix index c09f9e3a9e25..c76b9fcc7f77 100644 --- a/nixos/maintainers/scripts/lxd/lxd-image.nix +++ b/nixos/maintainers/scripts/lxd/lxd-image.nix @@ -19,15 +19,10 @@ with lib; if [ ! -e /etc/nixos/configuration.nix ]; then mkdir -p /etc/nixos cat ${./lxd-image-inner.nix} > /etc/nixos/configuration.nix + sed 's|../../../modules/virtualisation/lxc-container.nix||g' -i /etc/nixos/configuration.nix fi ''; - # Make lxc exec work properly - system.activationScripts.bash = '' - mkdir -p /bin - ln -sf /run/current-system/sw/bin/bash /bin/bash - ''; - # Network networking.useDHCP = false; networking.interfaces.eth0.useDHCP = true; diff --git a/nixos/modules/virtualisation/lxc-container.nix b/nixos/modules/virtualisation/lxc-container.nix index fb0187aabccf..c7d5ee1fd117 100644 --- a/nixos/modules/virtualisation/lxc-container.nix +++ b/nixos/modules/virtualisation/lxc-container.nix @@ -124,6 +124,7 @@ in ] ++ templates.files; }; + # TODO: build rootfs as squashfs for faster unpack system.build.tarball = pkgs.callPackage ../../lib/make-system-tarball.nix { extraArgs = "--owner=0"; diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index f4d6800aff60..659e2f9e5699 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -236,6 +236,7 @@ in login = handleTest ./login.nix {}; loki = handleTest ./loki.nix {}; lxd = handleTest ./lxd.nix {}; + lxd-image = handleTest ./lxd-image.nix {}; lxd-nftables = handleTest ./lxd-nftables.nix {}; #logstash = handleTest ./logstash.nix {}; lorri = handleTest ./lorri/default.nix {}; diff --git a/nixos/tests/lxd-image.nix b/nixos/tests/lxd-image.nix new file mode 100644 index 000000000000..bc8274eebedd --- /dev/null +++ b/nixos/tests/lxd-image.nix @@ -0,0 +1,91 @@ +# This test ensures that the nixOS lxd images builds and functions properly +# It has been extracted from `lxd.nix` to seperate failures of just the image and the lxd software + +import ./make-test-python.nix ({ pkgs, ...} : let + release = import ../release.nix { + /* configuration = { + environment.systemPackages = with pkgs; [ stdenv ]; # inject stdenv so rebuild test works + }; */ + }; + + metadata = release.lxdMeta.${pkgs.system}; + image = release.lxdImage.${pkgs.system}; + + lxd-config = pkgs.writeText "config.yaml" '' + storage_pools: + - name: default + driver: dir + config: + source: /var/lxd-pool + + networks: + - name: lxdbr0 + type: bridge + config: + ipv4.address: auto + ipv6.address: none + + profiles: + - name: default + devices: + eth0: + name: eth0 + network: lxdbr0 + type: nic + root: + path: / + pool: default + type: disk + ''; +in { + name = "lxd-image"; + + meta = with pkgs.lib.maintainers; { + maintainers = [ mkg20001 ]; + }; + + machine = { lib, ... }: { + virtualisation = { + # OOMs otherwise + memorySize = 1024; + # disk full otherwise + diskSize = 2048; + + lxc.lxcfs.enable = true; + lxd.enable = true; + }; + }; + + testScript = '' + machine.wait_for_unit("sockets.target") + machine.wait_for_unit("lxd.service") + machine.wait_for_file("/var/lib/lxd/unix.socket") + + # It takes additional second for lxd to settle + machine.sleep(1) + + # lxd expects the pool's directory to already exist + machine.succeed("mkdir /var/lxd-pool") + + machine.succeed( + "cat ${lxd-config} | lxd init --preseed" + ) + + # TODO: test custom built container aswell + + with subtest("importing container works"): + machine.succeed("lxc image import ${metadata}/*/*.tar.xz ${image}/*/*.tar.xz --alias nixos") + + with subtest("launching container works"): + machine.succeed("lxc launch nixos machine -c security.nesting=true") + # make sure machine boots up properly + machine.sleep(5) + + with subtest("container shell works"): + machine.succeed("echo true | lxc exec machine /run/current-system/sw/bin/bash -") + machine.succeed("lxc exec machine /run/current-system/sw/bin/true") + + # with subtest("rebuilding works"): + # machine.succeed("lxc exec machine /run/current-system/sw/bin/nixos-rebuild switch") + ''; +}) From 0a4ac64c8f0a55510f4b89eb64080912508410ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 3 Nov 2021 07:54:39 +0100 Subject: [PATCH 52/69] nodePackages: regenerate set --- .../node-packages/node-packages.nix | 249 ++++++++++++++---- 1 file changed, 201 insertions(+), 48 deletions(-) diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index 6eb75ba2eda3..d3de6965df82 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -9832,13 +9832,13 @@ let sha512 = "2PK+p6dRFuQQM8F4JbBivGetnJxvb8ggQkY7XLeCSl4qVkBeBjX+mRtsiudk28NUTH3JEll7AgmKj2fHfxYpGQ=="; }; }; - "apollo-graphql-0.9.4" = { + "apollo-graphql-0.9.5" = { name = "apollo-graphql"; packageName = "apollo-graphql"; - version = "0.9.4"; + version = "0.9.5"; src = fetchurl { - url = "https://registry.npmjs.org/apollo-graphql/-/apollo-graphql-0.9.4.tgz"; - sha512 = "0X2sZxfmn7lJrRknUPBG+L0LP1B0SKX1qtULIWrDbIpyl9LuSyjnDaGtmvc4IQtyKvmQXtAhEHBnprRokkjkyw=="; + url = "https://registry.npmjs.org/apollo-graphql/-/apollo-graphql-0.9.5.tgz"; + sha512 = "RGt5k2JeBqrmnwRM0VOgWFiGKlGJMfmiif/4JvdaEqhMJ+xqe/9cfDYzXfn33ke2eWixsAbjEbRfy8XbaN9nTw=="; }; }; "apollo-link-1.2.1" = { @@ -14999,13 +14999,13 @@ let sha512 = "bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw=="; }; }; - "caniuse-lite-1.0.30001274" = { + "caniuse-lite-1.0.30001275" = { name = "caniuse-lite"; packageName = "caniuse-lite"; - version = "1.0.30001274"; + version = "1.0.30001275"; src = fetchurl { - url = "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001274.tgz"; - sha512 = "+Nkvv0fHyhISkiMIjnyjmf5YJcQ1IQHZN6U9TLUMroWR38FNwpsC51Gb68yueafX1V6ifOisInSgP9WJFS13ew=="; + url = "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001275.tgz"; + sha512 = "ihJVvj8RX0kn9GgP43HKhb5q9s2XQn4nEQhdldEJvZhCsuiB2XOq6fAMYQZaN6FPWfsr2qU0cdL0CSbETwbJAg=="; }; }; "canvas-2.8.0" = { @@ -15161,22 +15161,22 @@ let sha512 = "vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg=="; }; }; - "cdk8s-1.1.21" = { + "cdk8s-1.1.22" = { name = "cdk8s"; packageName = "cdk8s"; - version = "1.1.21"; + version = "1.1.22"; src = fetchurl { - url = "https://registry.npmjs.org/cdk8s/-/cdk8s-1.1.21.tgz"; - sha512 = "jgPspKVy08Tccc2MioscI0aKU3JmlHlKiYTETvDYtONoitRW76ylK5Im+mX/Zy0nCF0Kwuxs6383RYKjwPaecQ=="; + url = "https://registry.npmjs.org/cdk8s/-/cdk8s-1.1.22.tgz"; + sha512 = "Mzhm2kj+z93QrSTH6yzq4M9tDXVsqM5HXnXKaLoDisDcRwjiF3rrqqRHoNhDUKX0wtoYWKy3+o3fyCkzEhVejQ=="; }; }; - "cdk8s-plus-22-1.0.0-beta.28" = { + "cdk8s-plus-22-1.0.0-beta.29" = { name = "cdk8s-plus-22"; packageName = "cdk8s-plus-22"; - version = "1.0.0-beta.28"; + version = "1.0.0-beta.29"; src = fetchurl { - url = "https://registry.npmjs.org/cdk8s-plus-22/-/cdk8s-plus-22-1.0.0-beta.28.tgz"; - sha512 = "14QKJGI1PTtf9l5n+r03pDLPerxlS49xGPz2nerGIczUpfFVed5PdoeXWtWRDWjfBjPN2IcGPCy/8gdsmDTVEg=="; + url = "https://registry.npmjs.org/cdk8s-plus-22/-/cdk8s-plus-22-1.0.0-beta.29.tgz"; + sha512 = "FgucgLJJujYWYa9KhpSAapCbGn+cpXUyd7n4wZI6vKsai0Pq2fYTid/9iYKOoDbM+Hq4W81T0ythQlVx+HqUeg=="; }; }; "cdktf-0.7.0" = { @@ -34724,13 +34724,13 @@ let sha512 = "F7GLNdoHBAYN4eqw7c6Tv12lqGOoMazsjuXDJRubjjbbwZ0tM6a78rHhrZwE4w1XV7mIkTxKmkj4DnbSIPW8wg=="; }; }; - "jsii-srcmak-0.1.386" = { + "jsii-srcmak-0.1.387" = { name = "jsii-srcmak"; packageName = "jsii-srcmak"; - version = "0.1.386"; + version = "0.1.387"; src = fetchurl { - url = "https://registry.npmjs.org/jsii-srcmak/-/jsii-srcmak-0.1.386.tgz"; - sha512 = "cKGLruiv9J6dB8g2PEem2OQtpxG4HsUU5rhaon9J4H58rVaPIEskXVpeUn3/9DJ8hLQSMCV0QUM7JtzG/SeOyg=="; + url = "https://registry.npmjs.org/jsii-srcmak/-/jsii-srcmak-0.1.387.tgz"; + sha512 = "c9KlJZRHlBBZa8v46Hw/fMZBrjXyiVQvnRe8//6T8lkBC2gUAys0j3su2pxiIiuX/FxT1r5Zae+oc5VdTGNVlQ=="; }; }; "json-bigint-1.0.0" = { @@ -39198,6 +39198,15 @@ let sha512 = "OJIGsGFV/rC9irI5E1FMy6v9hdACSwaa+EN3224Y5KG8zj2EYzdHOw0pOJovIYmjNfEZ9BtxUY4P7uYHTSNnbQ=="; }; }; + "markdownlint-cli2-formatter-default-0.0.2" = { + name = "markdownlint-cli2-formatter-default"; + packageName = "markdownlint-cli2-formatter-default"; + version = "0.0.2"; + src = fetchurl { + url = "https://registry.npmjs.org/markdownlint-cli2-formatter-default/-/markdownlint-cli2-formatter-default-0.0.2.tgz"; + sha512 = "jIz1X3SIC8sX4NDFqQFUXL+JEtfnDoN4i+xocEu+etcxGX455pHb6sx86f/yVk4mKJ2o7aNe2ydSx9an22BfBg=="; + }; + }; "markdownlint-rule-helpers-0.15.0" = { name = "markdownlint-rule-helpers"; packageName = "markdownlint-rule-helpers"; @@ -57004,6 +57013,15 @@ let sha1 = "ff4ae6e68656056ba4b3e792ab3334d38273ca11"; }; }; + "spawn-command-0.0.2" = { + name = "spawn-command"; + packageName = "spawn-command"; + version = "0.0.2"; + src = fetchurl { + url = "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2.tgz"; + sha1 = "9544e1a43ca045f8531aac1a48cb29bdae62338e"; + }; + }; "spawn-please-1.0.0" = { name = "spawn-please"; packageName = "spawn-please"; @@ -57760,13 +57778,13 @@ let sha512 = "zZ/Q1M+9ZWlrchgh4QauD/MEUFa6eC6H6FYq6T8Of/y82JqsQBLwN6YlzbO09evE7Rx6x0oliXDCnQSjwGwQRA=="; }; }; - "sscaff-1.2.115" = { + "sscaff-1.2.116" = { name = "sscaff"; packageName = "sscaff"; - version = "1.2.115"; + version = "1.2.116"; src = fetchurl { - url = "https://registry.npmjs.org/sscaff/-/sscaff-1.2.115.tgz"; - sha512 = "bEjTWtrXR+fOgJ9Oak+zP4DXUBWl3GmZ03QVLkL+/LC8SkfC+1p/+wcMWo2fij9HVTXlhsEgDnDyL7x0BFXf4A=="; + url = "https://registry.npmjs.org/sscaff/-/sscaff-1.2.116.tgz"; + sha512 = "ecCtXu5ZXFn4VjrDLTWGIOo/2E8qqso1H5JmwV3eLiuYtl+KUi9DtpwkPqi0tqzXnT48dSUkkaH5s92CW+Q3bw=="; }; }; "ssh-config-1.1.6" = { @@ -71283,7 +71301,7 @@ in sources."buffer-5.7.1" sources."buffer-from-1.1.2" sources."callsites-3.1.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chalk-3.0.0" sources."chardet-0.7.0" sources."chokidar-3.5.2" @@ -71817,7 +71835,7 @@ in sources."ansi-styles-3.2.1" sources."apollo-cache-control-0.14.0" sources."apollo-datasource-0.9.0" - sources."apollo-graphql-0.9.4" + sources."apollo-graphql-0.9.5" sources."apollo-link-1.2.14" sources."apollo-reporting-protobuf-0.8.0" (sources."apollo-server-caching-0.7.0" // { @@ -71919,7 +71937,7 @@ in sources."call-bind-1.0.2" sources."call-me-maybe-1.0.1" sources."camelcase-5.3.1" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."caseless-0.12.0" sources."caw-2.0.1" sources."chalk-2.4.2" @@ -73061,7 +73079,7 @@ in sources."balanced-match-1.0.2" sources."brace-expansion-1.1.11" sources."browserslist-4.17.6" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chalk-2.4.2" sources."color-convert-1.9.3" sources."color-name-1.1.3" @@ -73201,7 +73219,7 @@ in }; dependencies = [ sources."browserslist-4.17.6" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."electron-to-chromium-1.3.887" sources."escalade-3.1.1" sources."fraction.js-4.1.1" @@ -76588,8 +76606,8 @@ in sources."call-bind-1.0.2" sources."camelcase-6.2.0" sources."case-1.6.3" - sources."cdk8s-1.1.21" - sources."cdk8s-plus-22-1.0.0-beta.28" + sources."cdk8s-1.1.22" + sources."cdk8s-plus-22-1.0.0-beta.29" sources."chalk-4.1.2" sources."cliui-7.0.4" sources."clone-2.1.2" @@ -76682,7 +76700,7 @@ in sources."yargs-16.2.0" ]; }) - (sources."jsii-srcmak-0.1.386" // { + (sources."jsii-srcmak-0.1.387" // { dependencies = [ sources."fs-extra-9.1.0" ]; @@ -76727,7 +76745,7 @@ in sources."snake-case-3.0.4" sources."sort-json-2.0.0" sources."spdx-license-list-6.4.0" - sources."sscaff-1.2.115" + sources."sscaff-1.2.116" (sources."streamroller-2.2.4" // { dependencies = [ sources."date-format-2.1.0" @@ -76917,7 +76935,7 @@ in ]; }) sources."apollo-datasource-3.2.0" - sources."apollo-graphql-0.9.4" + sources."apollo-graphql-0.9.5" sources."apollo-reporting-protobuf-3.1.0" sources."apollo-server-caching-3.2.0" (sources."apollo-server-core-3.4.0" // { @@ -77369,7 +77387,7 @@ in sources."sort-json-2.0.0" sources."source-map-0.5.7" sources."spdx-license-list-6.4.0" - sources."sscaff-1.2.115" + sources."sscaff-1.2.116" (sources."stack-utils-2.0.5" // { dependencies = [ sources."escape-string-regexp-2.0.0" @@ -78390,7 +78408,7 @@ in sources."callsites-3.1.0" sources."camelcase-2.1.1" sources."camelcase-keys-2.1.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."capture-stack-trace-1.0.1" sources."ccount-1.1.0" (sources."chalk-4.1.2" // { @@ -79503,7 +79521,7 @@ in sources."callsites-3.1.0" sources."camelcase-5.3.1" sources."camelcase-keys-6.2.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" (sources."chalk-4.1.2" // { dependencies = [ sources."ansi-styles-4.3.0" @@ -80496,6 +80514,55 @@ in bypassCache = true; reconstructLock = true; }; + concurrently = nodeEnv.buildNodePackage { + name = "concurrently"; + packageName = "concurrently"; + version = "6.3.0"; + src = fetchurl { + url = "https://registry.npmjs.org/concurrently/-/concurrently-6.3.0.tgz"; + sha512 = "k4k1jQGHHKsfbqzkUszVf29qECBrkvBKkcPJEUDTyVR7tZd1G/JOfnst4g1sYbFvJ4UjHZisj1aWQR8yLKpGPw=="; + }; + dependencies = [ + sources."ansi-regex-5.0.1" + sources."ansi-styles-4.3.0" + (sources."chalk-4.1.2" // { + dependencies = [ + sources."supports-color-7.2.0" + ]; + }) + sources."cliui-7.0.4" + sources."color-convert-2.0.1" + sources."color-name-1.1.4" + sources."date-fns-2.25.0" + sources."emoji-regex-8.0.0" + sources."escalade-3.1.1" + sources."get-caller-file-2.0.5" + sources."has-flag-4.0.0" + sources."is-fullwidth-code-point-3.0.0" + sources."lodash-4.17.21" + sources."require-directory-2.1.1" + sources."rxjs-6.6.7" + sources."spawn-command-0.0.2" + sources."string-width-4.2.3" + sources."strip-ansi-6.0.1" + sources."supports-color-8.1.1" + sources."tree-kill-1.2.2" + sources."tslib-1.14.1" + sources."wrap-ansi-7.0.0" + sources."y18n-5.0.8" + sources."yargs-16.2.0" + sources."yargs-parser-20.2.9" + ]; + buildInputs = globalBuildInputs; + meta = { + description = "Run commands concurrently"; + homepage = "https://github.com/open-cli-tools/concurrently#readme"; + license = "MIT"; + }; + production = true; + bypassCache = true; + reconstructLock = true; + }; configurable-http-proxy = nodeEnv.buildNodePackage { name = "configurable-http-proxy"; packageName = "configurable-http-proxy"; @@ -82949,7 +83016,7 @@ in ]; }) sources."call-bind-1.0.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chalk-2.4.2" sources."chokidar-2.1.8" (sources."class-utils-0.3.6" // { @@ -84469,7 +84536,7 @@ in sources."callsites-2.0.0" sources."camelcase-5.3.1" sources."camelcase-keys-6.2.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chalk-2.4.2" sources."ci-info-2.0.0" sources."cli-boxes-2.2.1" @@ -87103,7 +87170,7 @@ in }) sources."camelcase-6.2.0" sources."caniuse-api-3.0.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."caseless-0.12.0" (sources."chalk-4.1.2" // { dependencies = [ @@ -89023,7 +89090,7 @@ in sources."callsites-2.0.0" sources."camelcase-5.3.1" sources."camelcase-keys-6.2.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chalk-2.4.2" sources."chownr-1.1.4" sources."ci-info-2.0.0" @@ -91971,7 +92038,7 @@ in sources."call-bind-1.0.2" sources."camel-case-4.1.2" sources."camelcase-6.2.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."ccount-1.1.0" (sources."chalk-4.1.2" // { dependencies = [ @@ -99421,7 +99488,7 @@ in sources."bytes-3.1.0" sources."bytesish-0.4.4" sources."call-bind-1.0.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."caseless-0.12.0" sources."chalk-2.4.2" sources."chardet-1.4.0" @@ -102323,7 +102390,7 @@ in sources."cached-path-relative-1.0.2" sources."call-bind-1.0.2" sources."camelcase-5.3.1" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."capture-exit-2.0.0" sources."caseless-0.12.0" (sources."chalk-3.0.0" // { @@ -103285,6 +103352,61 @@ in bypassCache = true; reconstructLock = true; }; + markdownlint-cli2 = nodeEnv.buildNodePackage { + name = "markdownlint-cli2"; + packageName = "markdownlint-cli2"; + version = "0.3.2"; + src = fetchurl { + url = "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.3.2.tgz"; + sha512 = "Wj4iQy2J49m9CVkWkLTdFxMTPDqD3AyL3NbLQgz/nUnTu8LnDguFCbQtFhdzQPvncHVjrKT2vYqg7DifzVP4tA=="; + }; + dependencies = [ + sources."@nodelib/fs.scandir-2.1.5" + sources."@nodelib/fs.stat-2.0.5" + sources."@nodelib/fs.walk-1.2.8" + sources."argparse-2.0.1" + sources."array-union-2.1.0" + sources."braces-3.0.2" + sources."dir-glob-3.0.1" + sources."entities-2.1.0" + sources."fast-glob-3.2.7" + sources."fastq-1.13.0" + sources."fill-range-7.0.1" + sources."glob-parent-5.1.2" + sources."globby-11.0.4" + sources."ignore-5.1.8" + sources."is-extglob-2.1.1" + sources."is-glob-4.0.3" + sources."is-number-7.0.0" + sources."linkify-it-3.0.3" + sources."markdown-it-12.2.0" + sources."markdownlint-0.24.0" + sources."markdownlint-cli2-formatter-default-0.0.2" + sources."markdownlint-rule-helpers-0.15.0" + sources."mdurl-1.0.1" + sources."merge2-1.4.1" + sources."micromatch-4.0.4" + sources."path-type-4.0.0" + sources."picomatch-2.3.0" + sources."queue-microtask-1.2.3" + sources."reusify-1.0.4" + sources."run-parallel-1.2.0" + sources."slash-3.0.0" + sources."strip-json-comments-3.1.1" + sources."to-regex-range-5.0.1" + sources."uc.micro-1.0.6" + sources."yaml-1.10.2" + ]; + buildInputs = globalBuildInputs; + meta = { + description = "A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the `markdownlint` library"; + homepage = "https://github.com/DavidAnson/markdownlint-cli2"; + license = "MIT"; + }; + production = true; + bypassCache = true; + reconstructLock = true; + }; markdown-link-check = nodeEnv.buildNodePackage { name = "markdown-link-check"; packageName = "markdown-link-check"; @@ -106999,7 +107121,7 @@ in sources."caller-path-2.0.0" sources."callsites-2.0.0" sources."caniuse-api-3.0.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."caseless-0.12.0" sources."chalk-2.4.2" sources."chokidar-2.1.8" @@ -110785,7 +110907,7 @@ in sources."camel-case-3.0.0" sources."camelcase-5.3.1" sources."caniuse-api-3.0.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."case-sensitive-paths-webpack-plugin-2.4.0" sources."caw-2.0.1" sources."chalk-2.4.2" @@ -113339,6 +113461,37 @@ in bypassCache = true; reconstructLock = true; }; + rtlcss = nodeEnv.buildNodePackage { + name = "rtlcss"; + packageName = "rtlcss"; + version = "3.5.0"; + src = fetchurl { + url = "https://registry.npmjs.org/rtlcss/-/rtlcss-3.5.0.tgz"; + sha512 = "wzgMaMFHQTnyi9YOwsx9LjOxYXJPzS8sYnFaKm6R5ysvTkwzHiB0vxnbHwchHQT65PTdBjDG21/kQBWI7q9O7A=="; + }; + dependencies = [ + sources."find-up-5.0.0" + sources."locate-path-6.0.0" + sources."nanoid-3.1.30" + sources."p-limit-3.1.0" + sources."p-locate-5.0.0" + sources."path-exists-4.0.0" + sources."picocolors-1.0.0" + sources."postcss-8.3.11" + sources."source-map-js-0.6.2" + sources."strip-json-comments-3.1.1" + sources."yocto-queue-0.1.0" + ]; + buildInputs = globalBuildInputs; + meta = { + description = "Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)"; + homepage = "https://rtlcss.com/"; + license = "MIT"; + }; + production = true; + bypassCache = true; + reconstructLock = true; + }; s3http = nodeEnv.buildNodePackage { name = "s3http"; packageName = "s3http"; @@ -121847,7 +122000,7 @@ in sources."buffer-from-1.1.2" sources."call-bind-1.0.2" sources."camelcase-6.2.0" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" (sources."chalk-4.1.2" // { dependencies = [ sources."supports-color-7.2.0" @@ -124227,7 +124380,7 @@ in sources."ajv-keywords-3.5.2" sources."browserslist-4.17.6" sources."buffer-from-1.1.2" - sources."caniuse-lite-1.0.30001274" + sources."caniuse-lite-1.0.30001275" sources."chrome-trace-event-1.0.3" sources."commander-2.20.3" sources."electron-to-chromium-1.3.887" From ca04d1ae0b09590f66b4969d3a6d76179a6ad6dc Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 06:55:24 +0000 Subject: [PATCH 53/69] keybase: 5.7.1 -> 5.8.1 --- pkgs/tools/security/keybase/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/keybase/default.nix b/pkgs/tools/security/keybase/default.nix index 8b65d3b8b00d..058ed8d1487a 100644 --- a/pkgs/tools/security/keybase/default.nix +++ b/pkgs/tools/security/keybase/default.nix @@ -6,7 +6,7 @@ buildGoPackage rec { pname = "keybase"; - version = "5.7.1"; + version = "5.8.1"; goPackagePath = "github.com/keybase/client"; subPackages = [ "go/kbnm" "go/keybase" ]; @@ -17,7 +17,7 @@ buildGoPackage rec { owner = "keybase"; repo = "client"; rev = "v${version}"; - sha256 = "sha256-72rVk8pYIQFESQqBu4bmFBPpAOB0oG2Iu36TbAdecBw="; + sha256 = "sha256-SeBZtrRsWTv5yBBsp18daKCNAr70OalH3shlKf+aiEU="; }; patches = [ From 4631d5e06e806fd9112edfc45c577918c1511b61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 3 Nov 2021 08:01:17 +0100 Subject: [PATCH 54/69] odoo: add rtlcss depenency --- pkgs/applications/finance/odoo/default.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/finance/odoo/default.nix b/pkgs/applications/finance/odoo/default.nix index aee699e85346..69acb43af861 100644 --- a/pkgs/applications/finance/odoo/default.nix +++ b/pkgs/applications/finance/odoo/default.nix @@ -3,19 +3,12 @@ , fetchurl , python3 , python3Packages +, nodePackages , wkhtmltopdf }: with python3Packages; -/* - -TODO: - For languages with right-to-left interface (such as Arabic or Hebrew), the package rtlcss is needed: - $ sudo npm install -g rtlcss - -*/ - buildPythonApplication rec { pname = "odoo"; @@ -40,12 +33,13 @@ buildPythonApplication rec { buildInputs = [ wkhtmltopdf + nodePackages.rtlcss ]; # needs some investigation doCheck = false; - makeWrapperArgs = [ "--prefix" "PATH" ":" "${wkhtmltopdf}/bin" ]; + makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}" ]; propagatedBuildInputs = [ Babel From 086b23a87a4e6b72dd8799d2da3d235c1dd32bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Wed, 3 Nov 2021 14:10:42 +0700 Subject: [PATCH 55/69] river: 2021-11-01 -> 0.1.0 --- pkgs/applications/window-managers/river/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/window-managers/river/default.nix b/pkgs/applications/window-managers/river/default.nix index ff253b951b84..e59ce5449e2c 100644 --- a/pkgs/applications/window-managers/river/default.nix +++ b/pkgs/applications/window-managers/river/default.nix @@ -19,13 +19,13 @@ stdenv.mkDerivation rec { pname = "river"; - version = "unstable-2021-11-01"; + version = "0.1.0"; src = fetchFromGitHub { owner = "ifreund"; repo = pname; - rev = "363fd3f6a466004eec157a40e51684e56992b857"; - sha256 = "sha256-RzReUo1p2z4UQaO5n6PKQlEv0vTBGg+1Wq1UIYii0Mo="; + rev = "v${version}"; + sha256 = "03pdgrcpj8db9s14249815z76dyjwwma8xv6p9hpw79flk6rk7v7"; fetchSubmodules = true; }; @@ -34,7 +34,6 @@ stdenv.mkDerivation rec { buildInputs = [ wayland-protocols wlroots - pixman libxkbcommon pixman udev From 3ad10ee674a1ee01a78be95199768933bcd5e9f6 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 07:38:32 +0000 Subject: [PATCH 56/69] krew: 0.4.1 -> 0.4.2 --- pkgs/development/tools/krew/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/krew/default.nix b/pkgs/development/tools/krew/default.nix index f0d0f1865114..69efbb3d209b 100644 --- a/pkgs/development/tools/krew/default.nix +++ b/pkgs/development/tools/krew/default.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "krew"; - version = "0.4.1"; + version = "0.4.2"; src = fetchFromGitHub { owner = "kubernetes-sigs"; repo = "krew"; rev = "v${version}"; - sha256 = "sha256-+YwBkXrj5sWlMA01GfBhu12st+es5YygkD16jc+blt8="; + sha256 = "sha256-P4b8HMkqxzYKz9OgI4pNCjR9Wakh+kIIAnUAkayzGEo="; }; - vendorSha256 = "sha256-49kWaU5dYqd86DvHi3mh5jYUQVmFlI8zsWtAFseYriE="; + vendorSha256 = "sha256-FQQCHq9f0yY8vSsvWIR7WKq+0c+dgGEnoQmXtoN6Ep0="; subPackages = [ "cmd/krew" ]; From 19071065ebe4ad100e1017edc49d2b5f9bd6052a Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Mon, 13 Sep 2021 18:09:43 +0100 Subject: [PATCH 57/69] bridge-utils: 1.5 -> 1.7.1 While at it: - updated package description (and mention DEPRECATED upstream status) - switched to .xz tarball - dropped upstreamed patch - dropped explicit checks for build result as upstream fixed it. --- .../linux/bridge-utils/add-ip6-header.patch | 11 ---------- .../linux/bridge-utils/autoconf-ar.patch | 8 ++------ .../linux/bridge-utils/default.nix | 20 +++++-------------- 3 files changed, 7 insertions(+), 32 deletions(-) delete mode 100644 pkgs/os-specific/linux/bridge-utils/add-ip6-header.patch diff --git a/pkgs/os-specific/linux/bridge-utils/add-ip6-header.patch b/pkgs/os-specific/linux/bridge-utils/add-ip6-header.patch deleted file mode 100644 index c9149bfec386..000000000000 --- a/pkgs/os-specific/linux/bridge-utils/add-ip6-header.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h -index 39964f2..dd14bae 100644 ---- a/libbridge/libbridge.h -+++ b/libbridge/libbridge.h -@@ -20,6 +20,7 @@ - #define _LIBBRIDGE_H - - #include -+#include - #include - #include diff --git a/pkgs/os-specific/linux/bridge-utils/autoconf-ar.patch b/pkgs/os-specific/linux/bridge-utils/autoconf-ar.patch index efa41075644d..21b089179ce1 100644 --- a/pkgs/os-specific/linux/bridge-utils/autoconf-ar.patch +++ b/pkgs/os-specific/linux/bridge-utils/autoconf-ar.patch @@ -1,7 +1,5 @@ -diff --git a/configure.in b/configure.in -index 5e3f89b..19be6d9 100644 ---- a/configure.in -+++ b/configure.in +--- a/configure.ac ++++ b/configure.ac @@ -9,6 +9,7 @@ dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL @@ -10,8 +8,6 @@ index 5e3f89b..19be6d9 100644 dnl Checks for header files. AC_HEADER_STDC -diff --git a/libbridge/Makefile.in b/libbridge/Makefile.in -index 20512c4..83c802b 100644 --- a/libbridge/Makefile.in +++ b/libbridge/Makefile.in @@ -1,7 +1,7 @@ diff --git a/pkgs/os-specific/linux/bridge-utils/default.nix b/pkgs/os-specific/linux/bridge-utils/default.nix index 92e7606c9bdb..cbbf77c67c8a 100644 --- a/pkgs/os-specific/linux/bridge-utils/default.nix +++ b/pkgs/os-specific/linux/bridge-utils/default.nix @@ -2,29 +2,19 @@ stdenv.mkDerivation rec { pname = "bridge-utils"; - version = "1.5"; + version = "1.7.1"; src = fetchurl { - url = "mirror://sourceforge/bridge/bridge-utils-${version}.tar.gz"; - sha256 = "42f9e5fb8f6c52e63a98a43b81bd281c227c529f194913e1c51ec48a393b6688"; + url = "https://kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-${version}.tar.xz"; + sha256 = "sha256-ph2L5PGhQFxgyO841UTwwYwFszubB+W0sxAzU2Fl5g4="; }; - patches = [ - ./autoconf-ar.patch - ./add-ip6-header.patch # Remove patch once the kernel headers are updated - ]; + patches = [ ./autoconf-ar.patch ]; nativeBuildInputs = [ autoreconfHook ]; - postInstall = '' - # The bridge utils build does not fail even if the brctl binary - # is not build. This test ensures that we fail if we don't produce a brctl - # binary. - test -f $out/sbin/brctl - ''; - meta = { - description = "https://sourceforge.net/projects/bridge/"; + description = "An userspace tool to configure linux bridges (deprecated in favour or iproute2)."; homepage = "https://wiki.linuxfoundation.org/networking/bridge"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; From c97ffef917480ec8506aaebbf162c34e9d701796 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 08:21:01 +0000 Subject: [PATCH 58/69] kubernetes: 1.22.2 -> 1.22.3 --- pkgs/applications/networking/cluster/kubernetes/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/cluster/kubernetes/default.nix b/pkgs/applications/networking/cluster/kubernetes/default.nix index 13b15da38cde..c974b830344b 100644 --- a/pkgs/applications/networking/cluster/kubernetes/default.nix +++ b/pkgs/applications/networking/cluster/kubernetes/default.nix @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { pname = "kubernetes"; - version = "1.22.2"; + version = "1.22.3"; src = fetchFromGitHub { owner = "kubernetes"; repo = "kubernetes"; rev = "v${version}"; - sha256 = "sha256-O+FY9wJ0fztO7i5qJfw+cfhfBgaMWKX7IBBXJV4uuCk="; + sha256 = "sha256-yXis1nq36MO/RnYLxOYBs6xnaTf9lk+VJBzSamrHcEU="; }; nativeBuildInputs = [ removeReferencesTo makeWrapper which go rsync installShellFiles ]; From e1c9c39409df03c80b2feef73b6f31efdd7e5420 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 08:31:28 +0000 Subject: [PATCH 59/69] lazygit: 0.29 -> 0.30.1 --- pkgs/development/tools/lazygit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/lazygit/default.nix b/pkgs/development/tools/lazygit/default.nix index 21d9f9903d26..7f335d744f69 100644 --- a/pkgs/development/tools/lazygit/default.nix +++ b/pkgs/development/tools/lazygit/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "lazygit"; - version = "0.29"; + version = "0.30.1"; src = fetchFromGitHub { owner = "jesseduffield"; repo = pname; rev = "v${version}"; - sha256 = "sha256-rw03K21Ay/+XKs06cUBybXLp8Rxrlz8T8YKrSGroyDU="; + sha256 = "sha256-8oyUI8jqJOJT1bZE25HlFA39gs3dcZbTL/vrL40K1IM="; }; vendorSha256 = null; From 516b49155ed88965bf02a61c6a70fc255ce5409c Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Mon, 1 Nov 2021 08:18:38 -0700 Subject: [PATCH 60/69] nixos/zfs: replace parentheses with braces The parentheses prevent the `continue` line from working by running the enclosed in a subshell -- I noticed that ZFS would start asking me for my password to encrypted child datasets, even though they were not specified in `requestEncryptionCredentials`. The following logs would also be present in the import unit's journal: Oct 31 22:13:17 host systemd[1]: Starting Import ZFS pool "pool"... Oct 31 22:13:44 host zfs-import-pool-start[3711]: importing ZFS pool "pool"... Oct 31 22:13:44 host zfs-import-pool-start[4017]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop Oct 31 22:13:44 host zfs-import-pool-start[4020]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop Oct 31 22:15:14 host zfs-import-pool-start[4023]: Failed to query password: Timer expired Oct 31 22:15:14 host zfs-import-pool-start[4024]: Key load error: encryption failure Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Main process exited, code=exited, status=255/EXCEPTION Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Failed with result 'exit-code'. Oct 31 22:15:14 host systemd[1]: Failed to start Import ZFS pool "pool". --- nixos/modules/tasks/filesystems/zfs.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index 2c03ef7ba7e0..65364801c32a 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -561,7 +561,8 @@ in then cfgZfs.requestEncryptionCredentials else cfgZfs.requestEncryptionCredentials != []) '' ${cfgZfs.package}/sbin/zfs list -rHo name,keylocation ${pool} | while IFS=$'\t' read ds kl; do - (${optionalString (!isBool cfgZfs.requestEncryptionCredentials) '' + { + ${optionalString (!isBool cfgZfs.requestEncryptionCredentials) '' if ! echo '${concatStringsSep "\n" cfgZfs.requestEncryptionCredentials}' | grep -qFx "$ds"; then continue fi @@ -575,7 +576,8 @@ in * ) ${cfgZfs.package}/sbin/zfs load-key "$ds" ;; - esac) < /dev/null # To protect while read ds kl in case anything reads stdin + esac + } < /dev/null # To protect while read ds kl in case anything reads stdin done ''} echo "Successfully imported ${pool}" From 22a15615c797fca51e7468059d4ebbaa6e72af82 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 17 Oct 2021 13:29:00 +0200 Subject: [PATCH 61/69] chroma: 0.9.2 -> 0.9.4 cmd/chroma is no longer a sub package, but its own module which we need to account for. --- pkgs/tools/text/chroma/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/text/chroma/default.nix b/pkgs/tools/text/chroma/default.nix index 1b9cbcd3727a..206a9e35e4d1 100644 --- a/pkgs/tools/text/chroma/default.nix +++ b/pkgs/tools/text/chroma/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "chroma"; - version = "0.9.2"; + version = "0.9.4"; src = fetchFromGitHub { owner = "alecthomas"; repo = pname; rev = "v${version}"; - sha256 = "19d7yr6q8kwrm91yyglmw9n7wa861sgi6dbwn8sl6dp55czfwvaq"; + sha256 = "14jp6f83ca2srcylf9w6v7cvznrm1sbpcs6lk7pimgr3jhy5j339"; # populate values otherwise taken care of by goreleaser, # unfortunately these require us to use git. By doing # this in postFetch we can delete .git afterwards and @@ -29,9 +29,10 @@ buildGoModule rec { ''; }; - vendorSha256 = "0y8mp08zccn9qxrsj9j7vambz8dwzsxbbgrlppzam53rg8rpxhrg"; + vendorSha256 = "1l5ryhwifhff41r4z1d2lifpvjcc4yi1vzrzlvkx3iy9dmxqcssl"; + + modRoot = "./cmd/chroma"; - subPackages = [ "cmd/chroma" ]; meta = with lib; { homepage = "https://github.com/alecthomas/chroma"; From 2174bfe6759d3054802ac3143dd9d9cfa732c2aa Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 17 Oct 2021 13:31:01 +0200 Subject: [PATCH 62/69] chroma: use -X ldflag to do variable substitution in cmd/chroma Previously this was done rather hackily using substituteInPlace in postFetch, however I've since found out that the way goreleaser does it is actually quite accessible, since it just calls go with the appropriate -X flags. To avoid having to call git in the build to obtain the values and to not rely on leaveDotGit, we can use the JSON populated by nix-prefetch-git which contains the extra information we need: the commit hash and the date. --- pkgs/tools/text/chroma/default.nix | 32 ++++++++++++------------------ pkgs/tools/text/chroma/src.json | 11 ++++++++++ 2 files changed, 24 insertions(+), 19 deletions(-) create mode 100644 pkgs/tools/text/chroma/src.json diff --git a/pkgs/tools/text/chroma/default.nix b/pkgs/tools/text/chroma/default.nix index 206a9e35e4d1..f99c090eb975 100644 --- a/pkgs/tools/text/chroma/default.nix +++ b/pkgs/tools/text/chroma/default.nix @@ -1,38 +1,32 @@ { lib, buildGoModule, fetchFromGitHub }: +let + srcInfo = builtins.fromJSON (builtins.readFile ./src.json); +in + buildGoModule rec { pname = "chroma"; version = "0.9.4"; + # To update: + # nix-prefetch-git --rev v${version} https://github.com/alecthomas/chroma.git > src.json src = fetchFromGitHub { owner = "alecthomas"; repo = pname; rev = "v${version}"; - sha256 = "14jp6f83ca2srcylf9w6v7cvznrm1sbpcs6lk7pimgr3jhy5j339"; - # populate values otherwise taken care of by goreleaser, - # unfortunately these require us to use git. By doing - # this in postFetch we can delete .git afterwards and - # maintain better reproducibility of the src. - leaveDotGit = true; - postFetch = '' - cd "$out" - - commit="$(git rev-parse HEAD)" - date=$(git show -s --format=%aI "$commit") - - substituteInPlace "$out/cmd/chroma/main.go" \ - --replace 'version = "?"' 'version = "${version}"' \ - --replace 'commit = "?"' "commit = \"$commit\"" \ - --replace 'date = "?"' "date = \"$date\"" - - find "$out" -name .git -print0 | xargs -0 rm -rf - ''; + inherit (srcInfo) sha256; }; vendorSha256 = "1l5ryhwifhff41r4z1d2lifpvjcc4yi1vzrzlvkx3iy9dmxqcssl"; modRoot = "./cmd/chroma"; + # substitute version info as done in goreleaser builds + ldflags = [ + "-X" "main.version=${version}" + "-X" "main.commit=${srcInfo.rev}" + "-X" "main.date=${srcInfo.date}" + ]; meta = with lib; { homepage = "https://github.com/alecthomas/chroma"; diff --git a/pkgs/tools/text/chroma/src.json b/pkgs/tools/text/chroma/src.json new file mode 100644 index 000000000000..9bfc8d9c2c73 --- /dev/null +++ b/pkgs/tools/text/chroma/src.json @@ -0,0 +1,11 @@ +{ + "url": "https://github.com/alecthomas/chroma.git", + "rev": "6520148857c2ae3106ff371e527abea815b23915", + "date": "2021-10-17T08:46:20+11:00", + "path": "/nix/store/0s8a46d1nyjl3yhsgni2jz5vdv95cka8-chroma", + "sha256": "1iy6mymdjxbl5wbll1mivv7gqdyqhl6xpfqps99z307m7y38r1ni", + "fetchLFS": false, + "fetchSubmodules": false, + "deepClone": false, + "leaveDotGit": false +} From 14ee52edff84f16f6268ebb9f87380cd86c433da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 01:50:49 +0000 Subject: [PATCH 63/69] elan: 1.3.0 -> 1.3.1 (cherry picked from commit 4cb7820ac9d46ffa20024350a208c66344958c7c) --- pkgs/applications/science/logic/elan/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/logic/elan/default.nix b/pkgs/applications/science/logic/elan/default.nix index fb636da0ec41..a5709b69fbb8 100644 --- a/pkgs/applications/science/logic/elan/default.nix +++ b/pkgs/applications/science/logic/elan/default.nix @@ -7,16 +7,16 @@ in rustPlatform.buildRustPackage rec { pname = "elan"; - version = "1.3.0"; + version = "1.3.1"; src = fetchFromGitHub { owner = "leanprover"; repo = "elan"; rev = "v${version}"; - sha256 = "0gql015zb3y95v68kmv2dscz7fnh89x1shrqxxqk5a0jhd2z93n1"; + sha256 = "sha256-QNVzpnT77+9PXhq4Yz0q3o+GiQTVy7dOrg2yBTscoek="; }; - cargoSha256 = "sha256-rL++3RstCSBMYFj9BeOo6gepfId/sje4ES3Wm+Mb4cQ="; + cargoSha256 = "sha256-G70QopoMqFrkOnuui3+3cEHYvmnf0meX1Ecv4q8FCpM="; nativeBuildInputs = [ pkg-config makeWrapper ]; From 5b741cbc28e92ed60148ce31ca5d29adab4b3753 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 09:58:58 +0000 Subject: [PATCH 64/69] libpg_query: 13-2.0.7 -> 13-2.1.0 --- pkgs/development/libraries/libpg_query/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libpg_query/default.nix b/pkgs/development/libraries/libpg_query/default.nix index 110a2167fd31..ba554065cfc7 100644 --- a/pkgs/development/libraries/libpg_query/default.nix +++ b/pkgs/development/libraries/libpg_query/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libpg_query"; - version = "13-2.0.7"; + version = "13-2.1.0"; src = fetchFromGitHub { owner = "pganalyze"; repo = "libpg_query"; rev = version; - sha256 = "sha256-xplp7Z17NlYbXIbBdN7EWDN4numdZUBIIVg5EowFMPA="; + sha256 = "sha256-DpvPmBvpx5pWDlx6T3Kp82ALi6FjOO549Exd8tWXDIk="; }; nativeBuildInputs = [ which ]; From 0d9ec2d3f0485b24e91ec3f933e34a93f24d5538 Mon Sep 17 00:00:00 2001 From: Bruno Bzeznik Date: Mon, 13 Sep 2021 12:06:19 +0200 Subject: [PATCH 65/69] obitools3: fix build on aarch64 + formatting --- .../science/biology/obitools/obitools3.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/applications/science/biology/obitools/obitools3.nix b/pkgs/applications/science/biology/obitools/obitools3.nix index c636942ca781..a7de2b4f76fe 100644 --- a/pkgs/applications/science/biology/obitools/obitools3.nix +++ b/pkgs/applications/science/biology/obitools/obitools3.nix @@ -1,10 +1,6 @@ -{ lib, fetchurl, python3Packages, cmake, python3 }: +{ stdenv, lib, fetchurl, python3Packages, cmake, python3 }: -let - pythonPackages = python3Packages; -in - -pythonPackages.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "obitools3"; version = "3.0.1b11"; @@ -13,15 +9,20 @@ pythonPackages.buildPythonApplication rec { sha256 = "1x7a0nrr9agg1pfgq8i1j8r1p6c0jpyxsv196ylix1dd2iivmas1"; }; + disabled = python3Packages.pythonOlder "3.5"; + + nativeBuildInputs = [ python3Packages.cython cmake ]; + + postPatch = lib.optionalString stdenv.isAarch64 '' + substituteInPlace setup.py \ + --replace "'-msse2'," "" + ''; + preBuild = '' substituteInPlace src/CMakeLists.txt --replace \$'{PYTHONLIB}' "$out/lib/${python3.libPrefix}/site-packages"; export NIX_CFLAGS_COMPILE="-L $out/lib/${python3.libPrefix}/site-packages $NIX_CFLAGS_COMPILE" ''; - disabled = !pythonPackages.isPy3k; - - nativeBuildInputs = [ pythonPackages.cython cmake ]; - dontConfigure = true; doCheck = true; From 3c77e75d14a5d622da96994468314f3e29414bc1 Mon Sep 17 00:00:00 2001 From: Shamrock Lee <44064051+ShamrockLee@users.noreply.github.com> Date: Wed, 3 Nov 2021 18:05:49 +0800 Subject: [PATCH 66/69] graphicsmagick: add mainProgram --- pkgs/applications/graphics/graphicsmagick/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix index 13752bfc05db..268e59d910b5 100644 --- a/pkgs/applications/graphics/graphicsmagick/default.nix +++ b/pkgs/applications/graphics/graphicsmagick/default.nix @@ -45,5 +45,6 @@ stdenv.mkDerivation rec { description = "Swiss army knife of image processing"; license = lib.licenses.mit; platforms = lib.platforms.all; + mainProgram = "gm"; }; } From 1917873d21da7d8d76a7a3b92affc9bd86b46f7e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 3 Nov 2021 10:29:40 +0000 Subject: [PATCH 67/69] libqalculate: 3.20.1 -> 3.21.0 --- pkgs/development/libraries/libqalculate/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libqalculate/default.nix b/pkgs/development/libraries/libqalculate/default.nix index 75b3dab36cb6..c7253364fd0c 100644 --- a/pkgs/development/libraries/libqalculate/default.nix +++ b/pkgs/development/libraries/libqalculate/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { pname = "libqalculate"; - version = "3.20.1"; + version = "3.21.0"; src = fetchFromGitHub { owner = "qalculate"; repo = "libqalculate"; rev = "v${version}"; - sha256 = "sha256-8SYI8CoeTfZXX0CgLnfl0rHwUZbYM7OGYzFQ41jm5Qs="; + sha256 = "sha256-aKNoLkqpnC+jOvqs7S7SYBu+5VZ+hHHzBkwccg+kYMQ="; }; outputs = [ "out" "dev" "doc" ]; From f9bbc60cfb345e4188a421605d1627ddf9c36d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 3 Nov 2021 12:39:32 +0100 Subject: [PATCH 68/69] nixos/odoo: apply suggestions from review --- nixos/modules/services/finance/odoo.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/finance/odoo.nix b/nixos/modules/services/finance/odoo.nix index 3fcb2b3966a5..422ee9510074 100644 --- a/nixos/modules/services/finance/odoo.nix +++ b/nixos/modules/services/finance/odoo.nix @@ -22,14 +22,14 @@ in type = with types; listOf package; default = []; example = literalExpression "[ pkgs.odoo_enterprise ]"; - description = "Odoo addons"; + description = "Odoo addons."; }; settings = mkOption { type = format.type; default = {}; description = '' - Odoo configuration settings. For more details see https://www.odoo.com/documentation/15.0/administration/install/deploy.html + Odoo configuration settings. For more details see ''; }; From 92a0174a08adbd4290da57629180508490a28544 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 3 Nov 2021 12:14:41 +0100 Subject: [PATCH 69/69] execline-man-pages: 2.8.1.0.2 -> 2.8.1.0.3 --- pkgs/data/documentation/execline-man-pages/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/documentation/execline-man-pages/default.nix b/pkgs/data/documentation/execline-man-pages/default.nix index 1e4a34cba882..ed4389cad6c9 100644 --- a/pkgs/data/documentation/execline-man-pages/default.nix +++ b/pkgs/data/documentation/execline-man-pages/default.nix @@ -2,8 +2,8 @@ buildManPages { pname = "execline-man-pages"; - version = "2.8.1.0.2"; - sha256 = "1fl3pyjh9328l1h2b6s08j048jl4pfyyc24mjs45qx545kcp65q4"; + version = "2.8.1.0.3"; + sha256 = "1n7c75lmyrjzzcbwjl6fxhfs4k29qlr66r1q35799h942cn4li7v"; description = "Port of the documentation for the execline suite to mdoc"; maintainers = [ lib.maintainers.sternenseemann ]; }