Skip to content

Commit d7ebb91

Browse files
authored
Merge branch 'main' into nix-flake-update
2 parents e19fb50 + 726c8dd commit d7ebb91

2 files changed

Lines changed: 40 additions & 7 deletions

File tree

flake.nix

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,44 @@
277277
};
278278

279279
overlays.default = final: prev: {
280+
# Patch nginx for multiple CVEs disclosed 2026-05-13, until nixos-25.11
281+
# channel advances past the fix (nixpkgs#520076).
282+
# Remove this overlay once flake.lock points to a nixpkgs with nginx >= 1.30.1.
283+
nginx = prev.nginx.overrideAttrs (old: {
284+
patches = (old.patches or [ ]) ++ [
285+
(final.fetchpatch {
286+
name = "CVE-2026-40460.patch";
287+
url = "https://github.com/nginx/nginx/commit/f37ec3e5d4f527e52ed5b25951ad8aa7d1ff6266.patch";
288+
hash = "sha256-++hYEzMUkl3mbBMaffR2LQTYMxOR/YziNkYCVyhw2Qg=";
289+
})
290+
(final.fetchpatch {
291+
name = "CVE-2026-40701.patch";
292+
url = "https://github.com/nginx/nginx/commit/71841dcedfdf46048ef5e25413fdf97a66957913.patch";
293+
hash = "sha256-FzNZpEwIj76r5dpqEP6TgpSc1ywcW7ZOEQpFpwI/YZw=";
294+
})
295+
(final.fetchpatch {
296+
name = "CVE-2026-42934.patch";
297+
url = "https://github.com/nginx/nginx/commit/696a7f1b9198d576e6a59c1655b746fbf06561cf.patch";
298+
hash = "sha256-/vjyEGysPv5VK4TZmk/gtIg9Zc5ogUXMwpBfBwe55Bc=";
299+
})
300+
(final.fetchpatch {
301+
name = "CVE-2026-42945.patch";
302+
url = "https://github.com/nginx/nginx/commit/2046b45aa0c6e712c216b9075886f3f26e9b4ca9.patch";
303+
hash = "sha256-VK9CXgrCIqORsaRivTZBmkoLyQhbZ07ss6nAbLNvfJM=";
304+
})
305+
(final.fetchpatch {
306+
name = "CVE-2026-42946.patch";
307+
url = "https://github.com/nginx/nginx/commit/baef7fdac28e4e1fe26509b50b8d15603393e28e.patch";
308+
hash = "sha256-Z1naMxxiVuDbUcvX3PiIK4CMuSSpUyzPqjix9GTwHmk=";
309+
})
310+
(final.fetchpatch {
311+
name = "CVE-2026-42946-part-2.patch";
312+
url = "https://github.com/nginx/nginx/commit/39d7d0ba0799fcff6baee52b6525f45739593cfd.patch";
313+
hash = "sha256-6PwV0iz4kQGGBwVk9129aH+TFzbSx3QSVpp22AoKQY4=";
314+
})
315+
];
316+
});
317+
280318
ocf-utils = ocf-utils.packages.${final.stdenv.hostPlatform.system}.default;
281319
ocf-jukebox = ocf-jukebox.packages.${final.stdenv.hostPlatform.system}.default;
282320
plasma-applet-commandoutput = final.callPackage ./pkgs/plasma-applet-commandoutput.nix { };

profiles/base.nix

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,15 @@ in
4141
dates = "weekly";
4242
};
4343
settings = {
44-
# makes devenv shells build significantly faster
45-
trusted-substituters = [
46-
"https://devenv.cachix.org"
44+
substituters = [
45+
"https://devenv.cachix.org" # makes devenv shells build significantly faster
4746
"https://cache.ocf.berkeley.edu"
4847
];
4948
trusted-public-keys = [
5049
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
5150
"cache.ocf.berkeley.edu-1:6n9lihkjExzagz8GYR1QY/ZthT/XAKOy+ju5Jxd6wBg="
5251
];
5352
};
54-
extraOptions = ''
55-
extra-substituters = https://devenv.cachix.org https://cache.ocf.berkeley.edu
56-
extra-trusted-public-keys = devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= cache.ocf.berkeley.edu-1:6n9lihkjExzagz8GYR1QY/ZthT/XAKOy+ju5Jxd6wBg=
57-
'';
5853
};
5954

6055
nixpkgs.flake.setNixPath = true;

0 commit comments

Comments
 (0)