Skip to content

Commit 406fffd

Browse files
Merge staging-next into staging
2 parents 582d8cd + 0465472 commit 406fffd

75 files changed

Lines changed: 694 additions & 251 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/applications/editors/emacs/sources.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ in
115115
name = "inhibit-lexical-cookie-warning-67916.patch";
116116
path = ./inhibit-lexical-cookie-warning-67916-30.patch;
117117
})
118+
# tree-sitter 0.26 compatibility fix, from FreeBSD
119+
# https://cgit.freebsd.org/ports/plain/editors/emacs/files/patch-src_treesit.c
120+
./tree-sitter-0.26.patch
118121
];
119122
});
120123

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
--- a/src/treesit.c
2+
+++ b/src/treesit.c
3+
@@ -34,7 +34,7 @@ along with GNU Emacs. If not, see <https://www.gnu.or
4+
# include "w32common.h"
5+
6+
/* In alphabetical order. */
7+
-#undef ts_language_version
8+
+#undef ts_language_abi_version
9+
#undef ts_node_child
10+
#undef ts_node_child_by_field_name
11+
#undef ts_node_child_count
12+
@@ -89,7 +89,7 @@ along with GNU Emacs. If not, see <https://www.gnu.or
13+
#undef ts_tree_get_changed_ranges
14+
#undef ts_tree_root_node
15+
16+
-DEF_DLL_FN (uint32_t, ts_language_version, (const TSLanguage *));
17+
+DEF_DLL_FN (uint32_t, ts_language_abi_version, (const TSLanguage *));
18+
DEF_DLL_FN (TSNode, ts_node_child, (TSNode, uint32_t));
19+
DEF_DLL_FN (TSNode, ts_node_child_by_field_name,
20+
(TSNode, const char *, uint32_t));
21+
@@ -166,7 +166,7 @@ init_treesit_functions (void)
22+
if (!library)
23+
return false;
24+
25+
- LOAD_DLL_FN (library, ts_language_version);
26+
+ LOAD_DLL_FN (library, ts_language_abi_version);
27+
LOAD_DLL_FN (library, ts_node_child);
28+
LOAD_DLL_FN (library, ts_node_child_by_field_name);
29+
LOAD_DLL_FN (library, ts_node_child_count);
30+
@@ -224,7 +224,7 @@ init_treesit_functions (void)
31+
return true;
32+
}
33+
34+
-#define ts_language_version fn_ts_language_version
35+
+#define ts_language_abi_version fn_ts_language_abi_version
36+
#define ts_node_child fn_ts_node_child
37+
#define ts_node_child_by_field_name fn_ts_node_child_by_field_name
38+
#define ts_node_child_count fn_ts_node_child_count
39+
@@ -746,7 +746,7 @@ treesit_load_language (Lisp_Object language_symbol,
40+
{
41+
*signal_symbol = Qtreesit_load_language_error;
42+
*signal_data = list2 (Qversion_mismatch,
43+
- make_fixnum (ts_language_version (lang)));
44+
+ make_fixnum (ts_language_abi_version (lang)));
45+
return NULL;
46+
}
47+
return lang;
48+
@@ -817,7 +817,7 @@ Return nil if a grammar library for LANGUAGE is not av
49+
&signal_data);
50+
if (ts_language == NULL)
51+
return Qnil;
52+
- uint32_t version = ts_language_version (ts_language);
53+
+ uint32_t version = ts_language_abi_version (ts_language);
54+
return make_fixnum((ptrdiff_t) version);
55+
}
56+
}

pkgs/build-support/node/import-npm-lock/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,15 +158,15 @@ lib.fix (self: {
158158
{
159159
inherit pname version;
160160

161-
package = toFile (toJSON packageJSON');
162-
packageLock = toFile (toJSON packageLock');
161+
package = toJSON packageJSON';
162+
packageLock = toJSON packageLock';
163163

164164
__structuredAttrs = true;
165165
}
166166
''
167167
mkdir $out
168-
cp "${package}" > $out/package.json
169-
cp "${packageLock}" > $out/package-lock.json
168+
printf "%s" "$package" > $out/package.json
169+
printf "%s" "$packageLock" > $out/package-lock.json
170170
'';
171171

172172
# Build node modules from package.json & package-lock.json

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 ];

0 commit comments

Comments
 (0)