Skip to content

Commit 5a2983b

Browse files
Merge master into staging-next
2 parents cf8b90c + 5fd3c32 commit 5a2983b

File tree

63 files changed

+630
-567
lines changed

Some content is hidden

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

63 files changed

+630
-567
lines changed

nixos/modules/config/xdg/portals/wlr.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ in
4747
exec_before = "disable_notifications.sh";
4848
exec_after = "enable_notifications.sh";
4949
chooser_type = "simple";
50-
chooser_cmd = "''${pkgs.slurp}/bin/slurp -f %o -or";
50+
chooser_cmd = "''${pkgs.slurp}/bin/slurp -f 'Monitor: %o' -or";
5151
};
5252
}
5353
'';

nixos/modules/services/misc/ollama.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ in
103103
false
104104
"rocm"
105105
"cuda"
106+
"vulkan"
106107
]
107108
);
108109
default = null;
@@ -119,6 +120,7 @@ in
119120
- may require overriding gpu type with `services.ollama.rocmOverrideGfx`
120121
if rocm doesn't detect your AMD gpu
121122
- `"cuda"`: supported by most modern NVIDIA GPUs
123+
- `"vulkan"`: supported by most modern GPUs on Linux
122124
'';
123125
};
124126
rocmOverrideGfx = lib.mkOption {

nixos/tests/all-tests.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,6 +1145,7 @@ in
11451145
ollama = runTest ./ollama.nix;
11461146
ollama-cuda = runTestOn [ "x86_64-linux" "aarch64-linux" ] ./ollama-cuda.nix;
11471147
ollama-rocm = runTestOn [ "x86_64-linux" "aarch64-linux" ] ./ollama-rocm.nix;
1148+
ollama-vulkan = runTestOn [ "x86_64-linux" "aarch64-linux" ] ./ollama-vulkan.nix;
11481149
ombi = runTest ./ombi.nix;
11491150
omnom = runTest ./omnom;
11501151
oncall = runTest ./web-apps/oncall.nix;

nixos/tests/ollama-vulkan.nix

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{ lib, ... }:
2+
{
3+
name = "ollama-vulkan";
4+
meta.maintainers = with lib.maintainers; [ abysssol ];
5+
6+
nodes.vulkan =
7+
{ ... }:
8+
{
9+
services.ollama.enable = true;
10+
services.ollama.acceleration = "vulkan";
11+
};
12+
13+
testScript = ''
14+
vulkan.wait_for_unit("multi-user.target")
15+
vulkan.wait_for_open_port(11434)
16+
'';
17+
}

nixos/tests/prometheus/pushgateway.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
+ "jq '.data.result[0].metric.version' | grep '\"${pkgs.prometheus-pushgateway.version}\"'"
5757
)
5858
59+
client.systemctl("start network-online.target")
60+
client.wait_for_unit("network-online.target")
61+
5962
# Add a metric and check in Prometheus
6063
client.wait_until_succeeds(
6164
"echo 'some_metric 3.14' | curl --data-binary @- http://pushgateway:9091/metrics/job/some_job"

pkgs/applications/editors/vscode/extensions/myriad-dreamin.tinymist/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ vscode-utils.buildVscodeMarketplaceExtension {
1111
name = "tinymist";
1212
publisher = "myriad-dreamin";
1313
inherit (tinymist) version;
14-
hash = "sha256-803feSIFyuBTyGGDH4zZ4hRGXRNN+J2y1p0C9I9qMro=";
14+
hash = "sha256-7BHkRM9HcD5VDMCcAh2GFvGz+OSb7l/Ki3+V3v/RYSo=";
1515
};
1616

1717
nativeBuildInputs = [

pkgs/applications/emulators/libretro/cores/ppsspp.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
}:
1414
mkLibretroCore {
1515
core = "ppsspp";
16-
version = "0-unstable-2025-11-08";
16+
version = "0-unstable-2025-11-19";
1717

1818
src = fetchFromGitHub {
1919
owner = "hrydgard";
2020
repo = "ppsspp";
21-
rev = "5646e471699de213b0fd30eecc50628322b0a8e2";
22-
hash = "sha256-TZqqABGy2smTsIScDKb4hMAyghyN8jW6RMba1o6/nNU=";
21+
rev = "c1581e6c3873331b93868bccd2f53f34a2316f89";
22+
hash = "sha256-9w2CtCQIaCBf2hwbQaMWjin0HT7ioc7vwBVMqbLJhqw=";
2323
fetchSubmodules = true;
2424
};
2525

pkgs/applications/video/mpv/scripts/thumbnail.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ buildLua rec {
3232
changelog = "https://github.com/marzzzello/mpv_thumbnail_script/releases/tag/${version}";
3333
license = lib.licenses.gpl3Plus;
3434
platforms = lib.platforms.all;
35-
maintainers = [ ];
35+
maintainers = with lib.maintainers; [ thegu5 ];
3636
};
3737
}

pkgs/by-name/bo/bookup/package.nix

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitLab,
5+
meson,
6+
ninja,
7+
pkg-config,
8+
gettext,
9+
wrapGAppsHook4,
10+
desktop-file-utils,
11+
libadwaita,
12+
gtksourceview5,
13+
webkitgtk_6_0,
14+
discount,
15+
sqlite,
16+
}:
17+
18+
stdenv.mkDerivation (finalAttrs: {
19+
pname = "bookup";
20+
version = "1.1.5";
21+
22+
src = fetchFromGitLab {
23+
domain = "gitlab.gnome.org";
24+
owner = "ilhooq";
25+
repo = "bookup";
26+
tag = "v${finalAttrs.version}";
27+
hash = "sha256-s2j9AQMDJaKtYyXtHDscujPv2KIvO0pnX/OnXma93Ro=";
28+
};
29+
30+
nativeBuildInputs = [
31+
meson
32+
ninja
33+
pkg-config
34+
gettext # msgfmt
35+
wrapGAppsHook4
36+
desktop-file-utils
37+
];
38+
39+
buildInputs = [
40+
libadwaita
41+
gtksourceview5
42+
webkitgtk_6_0
43+
discount
44+
sqlite
45+
];
46+
47+
meta = {
48+
description = "Markdown note-taking application for Gnome";
49+
homepage = "https://gitlab.gnome.org/ilhooq/bookup";
50+
license = lib.licenses.gpl3Plus;
51+
platforms = lib.platforms.linux;
52+
maintainers = with lib.maintainers; [ zendo ];
53+
mainProgram = "bookup";
54+
};
55+
})
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/lib_ccx/hardsubx.c b/src/lib_ccx/hardsubx.c
2+
index 20b4388..fa6b5fa 100644
3+
--- a/src/lib_ccx/hardsubx.c
4+
+++ b/src/lib_ccx/hardsubx.c
5+
@@ -125,7 +125,7 @@ int hardsubx_process_data(struct lib_hardsubx_ctx *ctx, struct lib_ccx_ctx *ctx_
6+
if (ctx->frame)
7+
av_frame_free(&ctx->frame);
8+
if (ctx->rgb_frame)
9+
av_frame_free(&ctx->rgb_frame);
10+
- avcodec_close(ctx->codec_ctx);
11+
+ avcodec_free_context(&ctx->codec_ctx);
12+
avformat_close_input(&ctx->format_ctx);
13+
}

0 commit comments

Comments
 (0)