Skip to content

Commit 0465472

Browse files
Merge master into staging-next
2 parents a585d9e + 682d57d commit 0465472

71 files changed

Lines changed: 625 additions & 241 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

nixos/modules/services/misc/octoprint.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ let
1111
baseConfig = lib.recursiveUpdate {
1212
plugins.curalegacy.cura_engine = "${pkgs.curaengine_stable}/bin/CuraEngine";
1313
server.port = cfg.port;
14-
webcam.ffmpeg = "${pkgs.ffmpeg.bin}/bin/ffmpeg";
14+
webcam.ffmpeg = "${pkgs.ffmpeg-headless.bin}/bin/ffmpeg";
1515
} (lib.optionalAttrs (cfg.host != null) { server.host = cfg.host; });
1616

1717
fullConfig = lib.recursiveUpdate cfg.extraConfig baseConfig;

nixos/modules/services/networking/autossh-ng.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ in
105105
wantedBy = [ "multi-user.target" ];
106106

107107
serviceConfig = {
108+
Type = "notify";
109+
NotifyAccess = "all";
108110
User = "${s.user}";
109111
# backoff would be nice, but doesn't automatically
110112
# get reset on successful start yet, so static 10s restart for now:
@@ -117,11 +119,16 @@ in
117119
"-o \"UserKnownHostsFile=${s.knownHostsFile}\""
118120
else
119121
"-o \"UserKnownHostsFile=/dev/null\" -o \"StrictHostKeyChecking=no\"";
122+
ready = pkgs.writers.writeBash "systemd-signal-ready" ''
123+
${pkgs.systemd}/bin/systemd-notify --ready
124+
'';
120125
in
121126
''
122127
${pkgs.openssh}/bin/ssh \
123128
-o "ServerAliveInterval 30" \
124129
-o "ServerAliveCountMax 3" \
130+
-o "PermitLocalCommand=yes" \
131+
-o "LocalCommand ${ready}" \
125132
-o ExitOnForwardFailure=yes \
126133
${hostKeyCheckOption} \
127134
-N \

nixos/modules/services/web-apps/calibre-web.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,5 @@ in
250250
};
251251
};
252252

253-
meta.maintainers = with lib.maintainers; [ pborzenkov ];
253+
meta.maintainers = [ ];
254254
}

nixos/modules/services/web-apps/onlyoffice.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ in
5050

5151
package = lib.mkPackageOption pkgs "onlyoffice-documentserver" { };
5252

53-
x2t = lib.mkPackageOption pkgs "x2t" { };
53+
x2t = lib.mkPackageOption pkgs "onlyoffice-documentserver.passthru.x2t" { };
5454

5555
port = lib.mkOption {
5656
type = lib.types.port;

pkgs/by-name/ba/baresip/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
}:
3232

3333
stdenv.mkDerivation (finalAttrs: {
34-
version = "4.6.0";
34+
version = "4.7.0";
3535
pname = "baresip";
3636

3737
src = fetchFromGitHub {
3838
owner = "baresip";
3939
repo = "baresip";
4040
rev = "v${finalAttrs.version}";
41-
hash = "sha256-ikfSr9chbkv+5XPlDZKH/80N98tBzHvyNf29kENXOFI=";
41+
hash = "sha256-IfzLwK6mDfMPug6vRfsOJwByP6LwGkefh8lBC75eVbU=";
4242
};
4343

4444
patches = [

pkgs/by-name/bi/bitwarden-desktop/package.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ buildNpmPackage' rec {
196196
cp -r apps/desktop/dist/linux-*unpacked/{locales,resources{,.pak}} $out/opt/Bitwarden
197197
198198
makeWrapper '${lib.getExe electron}' "$out/bin/bitwarden" \
199+
--run "ulimit -c 0" \
199200
--add-flags $out/opt/Bitwarden/resources/app.asar \
200201
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
201202
--set-default ELECTRON_IS_DEV 0 \

pkgs/by-name/br/brltty/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222

2323
stdenv.mkDerivation (finalAttrs: {
2424
pname = "brltty";
25-
version = "6.9";
25+
version = "6.9.1";
2626

2727
src = fetchurl {
2828
url = "https://brltty.app/archive/brltty-${finalAttrs.version}.tar.gz";
29-
sha256 = "sha256-KiWymWeI5RqRq++m23SJKnZYowqIbdBSrmffZ59FDaQ=";
29+
sha256 = "sha256-gi3iyHtECf3wLWFU0bRoVsNTnT6onGWu80MPJ3Nnf3Y=";
3030
};
3131

3232
depsBuildBuild = [ pkg-config ];

pkgs/by-name/ca/calibre-web/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ python3Packages.buildPythonApplication rec {
154154
# changelog = "https://github.com/janeczku/calibre-web/releases/tag/${src.tag}";
155155
changelog = "https://github.com/janeczku/calibre-web/compare/0.6.26...${src.rev}";
156156
license = lib.licenses.gpl3Plus;
157-
maintainers = with lib.maintainers; [ pborzenkov ];
157+
maintainers = [ ];
158158
mainProgram = "calibre-web";
159159
platforms = lib.platforms.all;
160160
};

pkgs/by-name/de/delve/package.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
fetchFromGitHub,
55
stdenv,
66
nix-update-script,
7+
installShellFiles,
78
}:
89

910
buildGoModule (finalAttrs: {
@@ -23,6 +24,8 @@ buildGoModule (finalAttrs: {
2324

2425
vendorHash = null;
2526

27+
nativeBuildInputs = [ installShellFiles ];
28+
2629
subPackages = [ "cmd/dlv" ];
2730

2831
ldflags = [
@@ -48,6 +51,11 @@ buildGoModule (finalAttrs: {
4851
# add symlink for vscode golang extension
4952
# https://github.com/golang/vscode-go/blob/master/docs/debugging.md#manually-installing-dlv-dap
5053
ln $out/bin/dlv $out/bin/dlv-dap
54+
55+
installShellCompletion --cmd dlv \
56+
--bash <($out/bin/dlv completion bash) \
57+
--fish <($out/bin/dlv completion fish) \
58+
--zsh <($out/bin/dlv completion zsh)
5159
'';
5260

5361
# delve doesn't support --version

pkgs/by-name/dn/dnsdist/package.nix

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
{
22
boost,
33
cargo,
4-
fetchpatch,
54
fetchurl,
65
fstrm,
7-
h2o,
86
lib,
97
libbpf,
108
libcap,
@@ -28,22 +26,13 @@
2826

2927
stdenv.mkDerivation (finalAttrs: {
3028
pname = "dnsdist";
31-
version = "2.0.2";
29+
version = "2.0.3";
3230

3331
src = fetchurl {
3432
url = "https://downloads.powerdns.com/releases/dnsdist-${finalAttrs.version}.tar.xz";
35-
hash = "sha256-M3Trplpco8+5/Fl5HEflA1FJ/lIcy7ztX4NKF/RWQb8=";
33+
hash = "sha256-oiklC4GcQNVRc6+nIC7x7yprco+Fx1Bol6Hxymq1cUk=";
3634
};
3735

38-
patches = [
39-
# Fix build error when only protobuf is enabled
40-
(fetchpatch {
41-
url = "https://github.com/PowerDNS/pdns/commit/daece82818d7f83b26dcf724ec1864644bc3f854.patch";
42-
hash = "sha256-Ag65Gjmm2m4yvRfqMjSo1EEJg/2EHWDBg15vSL5DKCU=";
43-
stripLen = 2;
44-
})
45-
];
46-
4736
nativeBuildInputs = [
4837
cargo
4938
pkg-config
@@ -52,10 +41,10 @@ stdenv.mkDerivation (finalAttrs: {
5241
python3.pkgs.pyyaml
5342
rustPlatform.cargoSetupHook
5443
];
44+
5545
buildInputs = [
5646
boost
5747
fstrm # Required for DNSTAP
58-
h2o
5948
libbpf
6049
libcap
6150
libedit
@@ -91,7 +80,7 @@ stdenv.mkDerivation (finalAttrs: {
9180

9281
cargoDeps = rustPlatform.fetchCargoVendor {
9382
inherit (finalAttrs) cargoRoot src;
94-
hash = "sha256-nDAvgM3xb+95dcGIHiSKlFo4/0Rs5Evf1vvR5vF4MXs=";
83+
hash = "sha256-OU24ahqFc4DivCpO451rsHV8rofyHv+LnLgkVsFPMG4=";
9584
};
9685

9786
cargoRoot = "dnsdist-rust-lib/rust";

0 commit comments

Comments
 (0)