Skip to content

Commit 10c5ac8

Browse files
Merge staging-next into staging
2 parents 4d8e7c4 + 2af1796 commit 10c5ac8

24 files changed

Lines changed: 308 additions & 196 deletions

File tree

nixos/modules/services/display-managers/gdm.nix

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@ in
169169
'';
170170
};
171171

172+
extraPackages = lib.mkOption {
173+
type = lib.types.listOf lib.types.package;
174+
default = [ ];
175+
example = lib.literalExpression "[ pkgs.gnome-themes-extra ]";
176+
description = ''
177+
Additional packages to add to XDG_DATA_DIRS for GDM.
178+
The `/share` directory of each package will be added to the data path.
179+
'';
180+
};
181+
172182
};
173183

174184
};
@@ -221,13 +231,16 @@ in
221231
enable = true;
222232
environment = {
223233
GDM_X_SERVER_EXTRA_ARGS = toString (lib.filter (arg: arg != "-terminate") xdmcfg.xserverArgs);
224-
XDG_DATA_DIRS = lib.makeSearchPath "share" [
225-
gdm # for gnome-login.session
226-
config.services.displayManager.sessionData.desktops
227-
pkgs.gnome-control-center # for accessibility icon
228-
pkgs.adwaita-icon-theme
229-
pkgs.hicolor-icon-theme # empty icon theme as a base
230-
];
234+
XDG_DATA_DIRS = lib.makeSearchPath "share" (
235+
[
236+
gdm # for gnome-login.session
237+
config.services.displayManager.sessionData.desktops
238+
pkgs.gnome-control-center # for accessibility icon
239+
pkgs.adwaita-icon-theme
240+
pkgs.hicolor-icon-theme # empty icon theme as a base
241+
]
242+
++ cfg.extraPackages
243+
);
231244
}
232245
// lib.optionalAttrs (xSessionWrapper != null) {
233246
# Make GDM use this wrapper before running the session, which runs the

pkgs/applications/editors/vim/plugins/non-generated/rainbow-delimiters-nvim/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
}:
77
vimUtils.buildVimPlugin rec {
88
pname = "rainbow-delimiters.nvim";
9-
version = "0.11.0";
9+
version = "0.12.0";
1010

1111
src = fetchFromGitLab {
1212
owner = "HiPhish";
1313
repo = "rainbow-delimiters.nvim";
1414
tag = "v${version}";
15-
hash = "sha256-zQgnNN8QvboOHWaMcLw1uRt/9AxV1asvTnpCcJ/qVS4=";
15+
hash = "sha256-q4cBvF8d5h+BM1LTm5aq02OBVmwSUb9rC1smHlxbRzg=";
1616
};
1717

1818
nvimSkipModules = [

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,17 @@ let
5353
// fetcherOpts
5454
))
5555
else if lib.hasPrefix "git" module.resolved then
56+
let
57+
url = elemAt mUrl 1;
58+
urlParts = lib.splitString "#" url;
59+
commit = if builtins.length urlParts == 2 then elemAt urlParts 1 else null;
60+
in
5661
(fetchGit (
5762
{
58-
url = module.resolved;
63+
url = "${scheme}://${elemAt urlParts 0}";
64+
}
65+
// lib.optionalAttrs (commit != null) {
66+
rev = commit;
5967
}
6068
// fetcherOpts
6169
))

pkgs/by-name/al/alfis/package.nix

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,35 @@
55
fetchFromGitHub,
66
pkg-config,
77
makeWrapper,
8+
libayatana-appindicator,
89
webkitgtk_4_1,
10+
xdotool,
911
zenity,
1012
withGui ? true,
1113
}:
1214

1315
rustPlatform.buildRustPackage (finalAttrs: {
1416
pname = "alfis";
15-
version = "0.8.8";
17+
version = "0.8.9";
1618

1719
src = fetchFromGitHub {
1820
owner = "Revertron";
1921
repo = "Alfis";
2022
tag = "v${finalAttrs.version}";
21-
hash = "sha256-gRk4kvIV+5cCUFaJvGbTAR44678Twa28iMGZ75lJz2c=";
23+
hash = "sha256-r3QIj9/Qv6y7qWltIjh1WCAZyFKMK2aN4vCsAUJB6PQ=";
2224
};
2325

24-
cargoHash = "sha256-Ge0+7ClXlJFT6CyluHF7k4stsX+KuYp/riro1pvrcKM=";
26+
cargoHash = "sha256-lOSGZIGztZumt/cymMNyBoBl6objrS8F5Nkk1e7T9NE=";
2527

2628
nativeBuildInputs = [
2729
pkg-config
2830
makeWrapper
2931
];
3032

31-
buildInputs = lib.optional (withGui && stdenv.hostPlatform.isLinux) webkitgtk_4_1;
33+
buildInputs = lib.optionals (withGui && stdenv.hostPlatform.isLinux) [
34+
webkitgtk_4_1
35+
xdotool
36+
];
3237

3338
buildNoDefaultFeatures = true;
3439
buildFeatures = [ "doh" ] ++ lib.optional withGui "webgui";
@@ -39,6 +44,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
3944
"--skip=dns::client::tests::test_udp_client"
4045
];
4146

47+
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
48+
substituteInPlace $cargoDepsCopy/*/libappindicator-sys-*/src/lib.rs \
49+
--replace-fail "libayatana-appindicator3.so.1" "${libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
50+
'';
51+
4252
postInstall = lib.optionalString (withGui && stdenv.hostPlatform.isLinux) ''
4353
wrapProgram $out/bin/alfis \
4454
--prefix PATH : ${lib.makeBinPath [ zenity ]}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ./generic.nix {
2-
version = "26.2.4.23-stable";
3-
rev = "94012846cb561e16e733935e23aceaea30f4b367";
4-
hash = "sha256-Tkt8RcuXCYGy6wAbdlt2rI1eT1zMMtbposBv4T5efb4=";
2+
version = "26.2.5.45-stable";
3+
rev = "9ca62f3f68fd635f4b56171568d75588b13b6258";
4+
hash = "sha256-qzY3nFbLvKVJaIfXgNliAvAmO8dzEWNKf4o8HfZYyZA=";
55
lts = false;
66
}

pkgs/by-name/cl/clouddrive2/package.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ let
1111
in
1212
stdenv.mkDerivation (finalAttrs: {
1313
pname = "clouddrive2";
14-
version = "1.0.3";
14+
version = "1.0.4";
1515

1616
src = fetchurl {
1717
url = "https://github.com/cloud-fs/cloud-fs.github.io/releases/download/v${finalAttrs.version}/clouddrive-2-${os}-${arch}-${finalAttrs.version}.tgz";
1818
hash =
1919
{
20-
x86_64-linux = "sha256-Y7KC7gS0YsuyR0Icf6wOSocWMV/BhCOo5A3CivsEcFE=";
21-
aarch64-linux = "sha256-sAGrW4x9iFxb65z4FFeNBtI9Fw6HnMG7qtWC/4WBmHI=";
22-
x86_64-darwin = "sha256-9VX/zZFNWbr4aRLdg970f0d5aUuSjU0SU2DWIn/25TY=";
23-
aarch64-darwin = "sha256-Obff5qaMiUiec53/pVBk+IRci9zaUfRpWPDmP8Oufeo=";
20+
x86_64-linux = "sha256-hDhROf+HoDhnfgFteN9DZp9KB8YW8OJtkMLJ32ZGevQ=";
21+
aarch64-linux = "sha256-3JCIeJ51prF/Vep3VthBx+ZglR8Rlc2FjATT1bM+p+A=";
22+
x86_64-darwin = "sha256-/q3a9RGrG5dwkyJjw4LhT0myIJFV38anzeDk7KIJ3eg=";
23+
aarch64-darwin = "sha256-eK/Gnd1/v3Ye5SoXp9gOmu5agNMeUbO/s9cU4VAyAMA=";
2424
}
2525
.${stdenv.hostPlatform.system} or (throw "unsupported system ${stdenv.hostPlatform.system}");
2626
};

pkgs/by-name/co/comaps/package.nix

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
fetchurl,
55
fetchFromCodeberg,
66
boost,
7+
expat,
78
gtest,
89
glm,
910
gflags,
@@ -16,16 +17,16 @@
1617
}:
1718
let
1819
# https://codeberg.org/comaps/comaps/src/branch/main/data/countries.txt
19-
mapRev = 250906;
20+
mapRev = 260321;
2021

2122
worldMap = fetchurl {
2223
url = "https://cdn-fi-1.comaps.app/maps/${toString mapRev}/World.mwm";
23-
hash = "sha256-0LjCDVk3vShmn+yHc/SvfJzrj170pO52CqbdKWqTsI4=";
24+
hash = "sha256-pMmzPcWbS9drQzJCfiac2dfSMihiHDfhFyG5ux0pG54=";
2425
};
2526

2627
worldCoasts = fetchurl {
2728
url = "https://cdn-fi-1.comaps.app/maps/${toString mapRev}/WorldCoasts.mwm";
28-
hash = "sha256-2BP6ET8DM3v0KMlzYx+lS0l26WSONQpb4fCMri8Aj2o=";
29+
hash = "sha256-5LI6itC6LhprVfgGbT/HYy1lzZLZLUe2QoSil0/7kIc=";
2930
};
3031

3132
pythonEnv = python3.withPackages (
@@ -36,18 +37,17 @@ let
3637
in
3738
organicmaps.overrideAttrs (oldAttrs: rec {
3839
pname = "comaps";
39-
version = "2025.11.07-2";
40+
version = "2026.03.23-5";
4041

4142
src = fetchFromCodeberg {
4243
owner = "comaps";
4344
repo = "comaps";
4445
tag = "v${version}";
45-
hash = "sha256-m1YOA24Avoia6YMXKcsuCdPwzxdn7Qc3kZLXGsWjTbs=";
46+
hash = "sha256-1bD0QiEZu6nB7wwBpfpEf+WypqbOd9XuXbq7FDTL7bw=";
4647
fetchSubmodules = true;
4748
};
4849

4950
patches = [
50-
./remove-lto.patch
5151
./use-vendored-protobuf.patch
5252

5353
# Include missing editor_tests_support.
@@ -59,8 +59,8 @@ organicmaps.overrideAttrs (oldAttrs: rec {
5959
substituteInPlace configure.sh \
6060
--replace-fail "git submodule update --init --recursive --depth 1" ""
6161
62-
patchShebangs tools/unix/generate_categories.sh
63-
substituteInPlace tools/python/categories/json_to_txt.py \
62+
patchShebangs tools/unix/*
63+
substituteInPlace tools/python/{categories/json_to_txt.py,generate_desktop_ui_strings.py} \
6464
--replace-fail "/usr/bin/env python3" "${pythonEnv.interpreter}"
6565
'';
6666

@@ -71,6 +71,7 @@ organicmaps.overrideAttrs (oldAttrs: rec {
7171

7272
buildInputs = (oldAttrs.buildInputs or [ ]) ++ [
7373
boost
74+
expat
7475
gtest
7576
gflags
7677
glm

pkgs/by-name/co/comaps/remove-lto.patch

Lines changed: 0 additions & 33 deletions
This file was deleted.

pkgs/by-name/cp/cpp-utilities/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99

1010
stdenv.mkDerivation (finalAttrs: {
1111
pname = "cpp-utilities";
12-
version = "5.33.0";
12+
version = "5.34.0";
1313

1414
src = fetchFromGitHub {
1515
owner = "Martchus";
1616
repo = "cpp-utilities";
1717
rev = "v${finalAttrs.version}";
18-
sha256 = "sha256-Xoy/Q5EQAEeP19R65xyXu46kC9hbS/Vr4ucfpeRlzH0=";
18+
sha256 = "sha256-lwrGPWRzCmOP4xeMH4ruLJfVaYXKc//WRFBSmKQ2iw0=";
1919
};
2020

2121
nativeBuildInputs = [ cmake ];

pkgs/by-name/gi/github-runner/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ buildDotnetModule (finalAttrs: {
159159

160160
# tests fail with sandboxing under darwin
161161
__darwinAllowLocalNetworking = true;
162-
__noChroot = true;
162+
__noChroot = stdenv.hostPlatform.isDarwin;
163163

164164
# Fully qualified name of disabled tests
165165
disabledTests = [

0 commit comments

Comments
 (0)