diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index 9ffb233bd71c..69b8bd959eeb 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -331,6 +331,7 @@ in ExecStart = "${cfg.package}/bin/celery --app paperless beat --loglevel INFO"; Restart = "on-failure"; LoadCredential = lib.optionalString (cfg.passwordFile != null) "PAPERLESS_ADMIN_PASSWORD:${cfg.passwordFile}"; + PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; @@ -407,6 +408,7 @@ in User = cfg.user; ExecStart = "${cfg.package}/bin/paperless-ngx document_consumer"; Restart = "on-failure"; + PrivateNetwork = cfg.database.createLocally; # defaultServiceConfig enables this by default, needs to be disabled for remote DBs }; environment = env; # Allow the consumer to access the private /tmp directory of the server. diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix index 70726f126226..7bf52b43f3f7 100644 --- a/nixos/modules/services/web-servers/nginx/default.nix +++ b/nixos/modules/services/web-servers/nginx/default.nix @@ -1333,7 +1333,14 @@ in restartTriggers = optionals cfg.enableReload [ configFile ]; # Block reloading if not all certs exist yet. # Happens when config changes add new vhosts/certs. - unitConfig.ConditionPathExists = optionals (sslServices != []) (map (certName: certs.${certName}.directory + "/fullchain.pem") vhostCertNames); + unitConfig = { + ConditionPathExists = optionals (sslServices != []) (map (certName: certs.${certName}.directory + "/fullchain.pem") vhostCertNames); + # Disable rate limiting for this, because it may be triggered quickly a bunch of times + # if a lot of certificates are renewed in quick succession. The reload itself is cheap, + # so even doing a lot of them in a short burst is fine. + # FIXME: there's probably a better way to do this. + StartLimitIntervalSec = 0; + }; serviceConfig = { Type = "oneshot"; TimeoutSec = 60; diff --git a/nixos/tests/headscale.nix b/nixos/tests/headscale.nix index cb5ce26b7944..3ba331b7c3d4 100644 --- a/nixos/tests/headscale.nix +++ b/nixos/tests/headscale.nix @@ -13,7 +13,10 @@ import ./make-test-python.nix ( in { name = "headscale"; - meta.maintainers = with lib.maintainers; [ misterio77 ]; + meta.maintainers = with lib.maintainers; [ + kradalby + misterio77 + ]; nodes = let diff --git a/pkgs/applications/audio/espeak-ng/default.nix b/pkgs/applications/audio/espeak-ng/default.nix index e7463c8c6613..14835a9e0b60 100644 --- a/pkgs/applications/audio/espeak-ng/default.nix +++ b/pkgs/applications/audio/espeak-ng/default.nix @@ -9,7 +9,7 @@ libtool, pkg-config, ronn, - substituteAll, + replaceVars, buildPackages, mbrolaSupport ? true, mbrola, @@ -45,8 +45,7 @@ stdenv.mkDerivation rec { ] ++ lib.optionals mbrolaSupport [ # Hardcode correct mbrola paths. - (substituteAll { - src = ./mbrola.patch; + (replaceVars ./mbrola.patch { inherit mbrola; }) ]; diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix index c3988cdd4e68..45fa03377e69 100644 --- a/pkgs/applications/display-managers/lightdm/default.nix +++ b/pkgs/applications/display-managers/lightdm/default.nix @@ -4,7 +4,7 @@ buildPackages, fetchFromGitHub, nix-update-script, - substituteAll, + replaceVars, plymouth, pam, pkg-config, @@ -85,8 +85,7 @@ stdenv.mkDerivation rec { # Hardcode plymouth to fix transitions. # For some reason it can't find `plymouth` # even when it's in PATH in environment.systemPackages. - (substituteAll { - src = ./fix-paths.patch; + (replaceVars ./fix-paths.patch { plymouth = "${plymouth}/bin/plymouth"; }) ]; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/codeium/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/codeium/default.nix index 59be7f543d1c..bb6ad95c94b5 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/codeium/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/codeium/default.nix @@ -3,7 +3,7 @@ codeium, fetchFromGitHub, melpaBuild, - substituteAll, + replaceVars, gitUpdater, }: @@ -19,8 +19,7 @@ melpaBuild { }; patches = [ - (substituteAll { - src = ./0000-set-codeium-command-executable.patch; + (replaceVars ./0000-set-codeium-command-executable.patch { codeium = lib.getExe' codeium "codeium_language_server"; }) ]; diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix index f8e5fc9ad1fd..47795ac8954b 100644 --- a/pkgs/applications/editors/neovim/wrapper.nix +++ b/pkgs/applications/editors/neovim/wrapper.nix @@ -23,10 +23,10 @@ let # certain plugins need a custom configuration (available in passthru.initLua) # to work with nix. # if true, the wrapper automatically appends those snippets when necessary - , autoconfigure ? false + , autoconfigure ? true # append to PATH runtime deps of plugins - , autowrapRuntimeDeps ? false + , autowrapRuntimeDeps ? true # should contain all args but the binary. Can be either a string or list , wrapperArgs ? [] diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 1a78e3eb4793..0fac70eb1665 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -11,7 +11,6 @@ fetchurl, neovimUtils, replaceVars, - substituteAll, # Language dependencies fetchYarnDeps, mkYarnModules, @@ -58,6 +57,7 @@ tmux, tup, typescript, + typescript-language-server, vim, which, xdg-utils, @@ -188,8 +188,7 @@ in aw-watcher-vim = super.aw-watcher-vim.overrideAttrs { patches = [ - (substituteAll { - src = ./patches/aw-watcher-vim/program_paths.patch; + (replaceVars ./patches/aw-watcher-vim/program_paths.patch { curl = lib.getExe curl; }) ]; @@ -1103,8 +1102,7 @@ in super.fruzzy.overrideAttrs (old: { buildInputs = [ nim1 ]; patches = [ - (substituteAll { - src = ./patches/fruzzy/get_version.patch; + (replaceVars ./patches/fruzzy/get_version.patch { inherit (old) version; }) ]; @@ -1243,8 +1241,7 @@ in gx-nvim = super.gx-nvim.overrideAttrs { patches = lib.optionals stdenv.hostPlatform.isLinux [ - (substituteAll { - src = ./patches/gx-nvim/fix-paths.patch; + (replaceVars ./patches/gx-nvim/fix-paths.patch { inherit xdg-utils; }) ]; @@ -1530,10 +1527,7 @@ in # https://github.com/NixOS/nixpkgs/pull/105810#issuecomment-740007985 # https://github.com/camspiers/lens.vim/pull/40/files patches = [ - (substituteAll { - src = ./patches/lens-vim/remove_duplicate_g_lens_animate.patch; - inherit languagetool; - }) + ./patches/lens-vim/remove_duplicate_g_lens_animate.patch ]; }; @@ -1662,8 +1656,7 @@ in in super.markdown-preview-nvim.overrideAttrs { patches = [ - (substituteAll { - src = ./markdown-preview-nvim/fix-node-paths.patch; + (replaceVars ./markdown-preview-nvim/fix-node-paths.patch { node = "${nodejs}/bin/node"; }) ]; @@ -2573,8 +2566,7 @@ in "openscad.utilities" ]; patches = [ - (substituteAll { - src = ./patches/openscad.nvim/program_paths.patch; + (replaceVars ./patches/openscad.nvim/program_paths.patch { htop = lib.getExe htop; openscad = lib.getExe openscad; zathura = lib.getExe zathura; @@ -2683,8 +2675,7 @@ in Preview-nvim = super.Preview-nvim.overrideAttrs { patches = [ - (substituteAll { - src = ./patches/preview-nvim/hardcode-mdt-binary-path.patch; + (replaceVars ./patches/preview-nvim/hardcode-mdt-binary-path.patch { mdt = lib.getExe md-tui; }) ]; @@ -3308,6 +3299,9 @@ in nvim-lspconfig plenary-nvim ]; + runtimeDeps = [ + typescript-language-server + ]; }; nvzone-typr = super.nvzone-typr.overrideAttrs { @@ -3534,8 +3528,7 @@ in # let g:grammarous#show_first_error = 1 # see https://github.com/rhysd/vim-grammarous/issues/39 patches = [ - (substituteAll { - src = ./patches/vim-grammarous/set_default_languagetool.patch; + (replaceVars ./patches/vim-grammarous/set_default_languagetool.patch { inherit languagetool; }) ]; diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index 625d048b8da0..fdc8c05b090b 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -57,6 +57,11 @@ callPackage ./generic.nix rec { updateScript = ./update-vscodium.sh; + # Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature + # to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized. + # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. + dontFixup = stdenv.hostPlatform.isDarwin; + meta = with lib; { description = '' Open source source code editor developed by Microsoft for Windows, diff --git a/pkgs/applications/emulators/wine/packages.nix b/pkgs/applications/emulators/wine/packages.nix index 3d87723f4404..c0dc9e9af2bb 100644 --- a/pkgs/applications/emulators/wine/packages.nix +++ b/pkgs/applications/emulators/wine/packages.nix @@ -5,7 +5,7 @@ pkgsi686Linux, pkgsCross, callPackage, - substituteAll, + replaceVars, moltenvk, wineRelease ? "stable", supportFlags, @@ -80,8 +80,7 @@ with src; mingwW64.buildPackages.gcc ]; monos = [ mono ]; - buildScript = substituteAll { - src = ./builder-wow.sh; + buildScript = replaceVars ./builder-wow.sh { # pkgconfig has trouble picking the right architecture pkgconfig64remove = lib.makeSearchPathOutput "dev" "lib/pkgconfig" [ pkgs.glib diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix index 9258defc289d..e5e552f299f9 100644 --- a/pkgs/applications/graphics/gimp/default.nix +++ b/pkgs/applications/graphics/gimp/default.nix @@ -2,7 +2,7 @@ stdenv, lib, fetchurl, - substituteAll, + replaceVars, autoreconfHook, pkg-config, intltool, @@ -74,8 +74,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # to remove compiler from the runtime closure, reference was retained via # gimp --version --verbose output - (substituteAll { - src = ./remove-cc-reference.patch; + (replaceVars ./remove-cc-reference.patch { cc_version = stdenv.cc.cc.name; }) diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index b3069527f8b2..b03b88c3c7b2 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -41,7 +41,7 @@ , potrace , python3 , runCommand -, substituteAll +, replaceVars , wrapGAppsHook3 , libepoxy , zlib @@ -92,15 +92,13 @@ stdenv.mkDerivation (finalAttrs: { url = "https://gitlab.com/inkscape/inkscape/-/commit/eb6dadcf1a5c660167ba43f3606c8e7cc6529787.patch"; hash = "sha256-FvbJV/YrBwhHg0kFdbhyd/Y9g7YV2nPIrRqZt7yJ50Q="; }) - (substituteAll { - src = ./fix-python-paths.patch; + (replaceVars ./fix-python-paths.patch { # Python is used at run-time to execute scripts, # e.g., those from the "Effects" menu. python3 = lib.getExe python3Env; }) - (substituteAll { + (replaceVars ./fix-ps2pdf-path.patch { # Fix path to ps2pdf binary - src = ./fix-ps2pdf-path.patch; inherit ghostscript; }) ]; diff --git a/pkgs/applications/graphics/inkscape/extensions/textext/default.nix b/pkgs/applications/graphics/inkscape/extensions/textext/default.nix index 840ba0333bb5..669ae89edd43 100644 --- a/pkgs/applications/graphics/inkscape/extensions/textext/default.nix +++ b/pkgs/applications/graphics/inkscape/extensions/textext/default.nix @@ -2,7 +2,7 @@ lib, writeScript, fetchFromGitHub, - substituteAll, + replaceVars, inkscape, pdflatex, lualatex, @@ -33,8 +33,7 @@ python3.pkgs.buildPythonApplication rec { patches = [ # Make sure we can point directly to pdflatex in the extension, # instead of relying on the PATH (which might not have it) - (substituteAll { - src = ./fix-paths.patch; + (replaceVars ./fix-paths.patch { inherit pdflatex lualatex; }) diff --git a/pkgs/applications/networking/browsers/chromium/info.json b/pkgs/applications/networking/browsers/chromium/info.json index 72c39afafb36..f82e788578c9 100644 --- a/pkgs/applications/networking/browsers/chromium/info.json +++ b/pkgs/applications/networking/browsers/chromium/info.json @@ -766,27 +766,27 @@ } }, "ungoogled-chromium": { - "version": "131.0.6778.264", + "version": "132.0.6834.83", "deps": { "depot_tools": { - "rev": "20b9bdcace7ed561d6a75728c85373503473cb6b", - "hash": "sha256-vlBENaVTtbwDJtSswuszcUlx+icZYJeP6ew6MO1cAv0=" + "rev": "41d43a2a2290450aeab946883542f8049b155c87", + "hash": "sha256-m/6b4VZZTUQOeED1mYvZOQCx8Re+Zd4O8SKDMjJ9Djo=" }, "gn": { - "rev": "95b0f8fe31a992a33c040bbe3867901335c12762", - "hash": "sha256-a8yCdBsl0nBMPS+pCLwrkAvQNP/THx/z/GySyOgx4Jk=" + "rev": "feafd1012a32c05ec6095f69ddc3850afb621f3a", + "hash": "sha256-zZoD5Bx7wIEP2KJkHef6wHrxU3px+8Vseq29QcK32bg=" }, "ungoogled-patches": { - "rev": "131.0.6778.264-1", - "hash": "sha256-u/2iKhrJRbvOtv5Yi/AfSpR7Xu4NjBTF5G03wsVGEKo=" + "rev": "132.0.6834.83-1", + "hash": "sha256-yL7eMNTL1FDoqXcwuHx5BzjjESjzsIfdzHCTZW9jXUo=" }, - "npmHash": "sha256-b1l8SwjAfoColoa3zhTMPEF/rRuxzT3ATHE77rWU5EA=" + "npmHash": "sha256-H1/h3x+Cgp1x94Ze3UPPHxRVpylZDvpMXMOuS+jk2dw=" }, "DEPS": { "src": { "url": "https://chromium.googlesource.com/chromium/src.git", - "rev": "2d05e31515360f4da764174f7c448b33e36da871", - "hash": "sha256-aAb+lMefY4+zADsVeyLIhNI4AQfGmzu+7Y8o3t2csmU=", + "rev": "03d59cf5ecf1d8444838ff9a1e96231304d4ff9c", + "hash": "sha256-2FuT20iW8Mp4AehdEFT5Ua3La5z8bmT1FdLaUZRL0CE=", "recompress": true }, "src/third_party/clang-format/script": { @@ -796,18 +796,23 @@ }, "src/third_party/libc++/src": { "url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git", - "rev": "6a68fd412b9aecd515a20a7cf84d11b598bfaf96", - "hash": "sha256-7skqaen0XqbRvAGXQ0/3kea3vRInktdP3DOBeIBiGlQ=" + "rev": "8e31ad42561900383e10dbefc1d3e8f38cedfbe9", + "hash": "sha256-kmhTlz/qjvN0Qlra7Wz05O6X058hPPn0nVvAxFXQDC4=" }, "src/third_party/libc++abi/src": { "url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git", - "rev": "9a1d90c3b412d5ebeb97a6e33d98e1d0dd923221", - "hash": "sha256-zPm+Rif9fITazDvvm6SvLq8gwcPzPbuaXlRbyYqv7JA=" + "rev": "cec7f478354a8c8599f264ed8bb6043b5468f72d", + "hash": "sha256-CwiK9Td8aRS08RywItHKFvibzDAUYYd0YNRKxYPLTD8=" }, "src/third_party/libunwind/src": { "url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git", - "rev": "efc3baa2d1ece3630fcfa72bef93ed831bcaec4c", - "hash": "sha256-0OBelaxkKdajYXrGgz08nyPZhxqpsnFXiF3m8DGQkDo=" + "rev": "5b01ea4a6f3b666b7d190e7cb7c31db2ed4d94ce", + "hash": "sha256-uA+t5Ecc/iK3mllHR8AMVGRfU/7z1G3yrw0TamPQiOY=" + }, + "src/third_party/llvm-libc/src": { + "url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libc.git", + "rev": "ca74a72e2b32ad804522bbef04dfe32560a10206", + "hash": "sha256-av9JdqLOQbezgRS4P8QXmvfB5l47v04WRagNJJgT5u4=" }, "src/chrome/test/data/perf/canvas_bench": { "url": "https://chromium.googlesource.com/chromium/canvas_bench.git", @@ -826,8 +831,8 @@ }, "src/docs/website": { "url": "https://chromium.googlesource.com/website.git", - "rev": "4811f9e01c4cfcbf9c6957015063eaaa0d92be91", - "hash": "sha256-98wwIeMTF2Wg2sJ07U1OUV83wR9nJOjGubp7Vnk3kj8=" + "rev": "be9c3dfd3781964fc0bab0d6c91d9ad117b71b02", + "hash": "sha256-CqveHvjPEcRWnzi8w13xr2OainrmABNO8uj0GzKmQqo=" }, "src/media/cdm/api": { "url": "https://chromium.googlesource.com/chromium/cdm.git", @@ -836,13 +841,13 @@ }, "src/net/third_party/quiche/src": { "url": "https://quiche.googlesource.com/quiche.git", - "rev": "e0175250977c2b2b95087afc0857883538a1386c", - "hash": "sha256-1O+hnZF73AY44jcmajJlpaQY5PV4+x0hYwqf1TtMahY=" + "rev": "9616efc903b7469161996006c8cf963238e26503", + "hash": "sha256-Z2uFWfZDYcY0m4R6mFMZJLnnVHu3/hQOAkCPQ5049SQ=" }, "src/testing/libfuzzer/fuzzers/wasm_corpus": { "url": "https://chromium.googlesource.com/v8/fuzzer_wasm_corpus.git", - "rev": "f650ff816f2ef227f61ea2e9f222aa69708ab367", - "hash": "sha256-qWsGQNUptbz0jYvUuxP7woNf5QQrfn9k3uvr82Yk0QM=" + "rev": "1df5e50a45db9518a56ebb42cb020a94a090258b", + "hash": "sha256-gItDOfNqm1tHlmelz3l2GGdiKi9adu1EpPP6U7+8EQY=" }, "src/third_party/accessibility_test_framework/src": { "url": "https://chromium.googlesource.com/external/github.com/google/Accessibility-Test-Framework-for-Android.git", @@ -851,8 +856,8 @@ }, "src/third_party/angle": { "url": "https://chromium.googlesource.com/angle/angle.git", - "rev": "ac6cda4cbd716102ded6a965f79573b41581898d", - "hash": "sha256-7Zfc262U42G6BUlxnLp6sQ78VlWBt0pTzkYwXY0rqaE=" + "rev": "ce13a00a2b049a1ef5e0e70a3d333ce70838ef7b", + "hash": "sha256-fMIHpa2QFsQQ19LGyhvV3Ihh6Ls8wwwhqTtpLoTEaf4=" }, "src/third_party/angle/third_party/glmark2/src": { "url": "https://chromium.googlesource.com/external/github.com/glmark2/glmark2", @@ -866,8 +871,8 @@ }, "src/third_party/angle/third_party/VK-GL-CTS/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS", - "rev": "179dd9f858f0f5b0e52b61aefc621dc82e2ad34a", - "hash": "sha256-B7X9PTlMQdolsvEfuCNaKnRFcvsPNZtn5FOcJBY6sCA=" + "rev": "f674555ab03e6355e0981a647c115097e9fe5324", + "hash": "sha256-2ZhG4cJf85zO7x+SGG6RD2qgOxZVosxAIbuZt9GYUKs=" }, "src/third_party/anonymous_tokens/src": { "url": "https://chromium.googlesource.com/external/github.com/google/anonymous-tokens.git", @@ -881,13 +886,13 @@ }, "src/third_party/dav1d/libdav1d": { "url": "https://chromium.googlesource.com/external/github.com/videolan/dav1d.git", - "rev": "389450f61ea0b2057fc9ea393d3065859c4ba7f2", - "hash": "sha256-FK3tOLq5NcKQuStY5o8Lv2CXpjYHJm7n+NnyLFMOCxo=" + "rev": "93f12c117a4e1c0cc2b129dcc52e84dbd9b84200", + "hash": "sha256-Q2CaWvDqOmfaPG6a+SUHG5rFHalPEf4Oq/ytT3xuSOk=" }, "src/third_party/dawn": { "url": "https://dawn.googlesource.com/dawn.git", - "rev": "740d2502dbbd719a76c5a8d3fb4dac1b5363f42e", - "hash": "sha256-R41YVv4uWCU6SsACXPRppeCDguTs+/NVJckvMGGTgJE=" + "rev": "73dbf565079c89a531e6e01c4e8fc048a8a9660b", + "hash": "sha256-6P3Mw60+xZVsFbrhG6UkTlz8xvvEOptV3Ar1sos0CsU=" }, "src/third_party/dawn/third_party/glfw": { "url": "https://chromium.googlesource.com/external/github.com/glfw/glfw", @@ -896,8 +901,8 @@ }, "src/third_party/dawn/third_party/dxc": { "url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectXShaderCompiler", - "rev": "080aeb7199e66e4b0a2b6383fd26a9f8d2cccbf5", - "hash": "sha256-YHEBGqfftgK68wWAWVTxtbl1GECBT1qTNe7irYkM/8k=" + "rev": "ac36a797d3470e8ee906b98457a59270d01db30d", + "hash": "sha256-rhUNPA5b0H3PBsOpXbAeRLpS0tNQkiHbjRBWmJycSAY=" }, "src/third_party/dawn/third_party/dxheaders": { "url": "https://chromium.googlesource.com/external/github.com/microsoft/DirectX-Headers", @@ -921,38 +926,38 @@ }, "src/third_party/dawn/third_party/webgpu-cts": { "url": "https://chromium.googlesource.com/external/github.com/gpuweb/cts", - "rev": "815ff2bb4038144dea89c33021bc4429f22a130f", - "hash": "sha256-28uZotrv+/MBBo+pcBWY3Csqrdv5Y4DxGbGEwK9Cwdw=" + "rev": "8690defa74b6975c10e85c113f121d4b2a3f2564", + "hash": "sha256-ArbHGjkHd1sko7gDPFksYz7XHKNge+e6tVy6oKPuqzg=" }, "src/third_party/highway/src": { "url": "https://chromium.googlesource.com/external/github.com/google/highway.git", - "rev": "8295336dd70f1201d42c22ab5b0861de38cf8fbf", - "hash": "sha256-PXsXIqWB4NNiFhanRjMIFSWYuW/IRuQo8mMPUBEentY=" + "rev": "00fe003dac355b979f36157f9407c7c46448958e", + "hash": "sha256-IS7m1wBwpPBUNhx2GttY1fzvmLIeAp3o2gXfrFpRdvY=" }, "src/third_party/google_benchmark/src": { "url": "https://chromium.googlesource.com/external/github.com/google/benchmark.git", - "rev": "344117638c8ff7e239044fd0fa7085839fc03021", - "hash": "sha256-gztnxui9Fe/FTieMjdvfJjWHjkImtlsHn6fM1FruyME=" + "rev": "761305ec3b33abf30e08d50eb829e19a802581cc", + "hash": "sha256-cH8s1gP6kCcojAAfTt5iQCVqiAaSooNk4BdaILujM3w=" }, "src/third_party/boringssl/src": { "url": "https://boringssl.googlesource.com/boringssl.git", - "rev": "cd95210465496ac2337b313cf49f607762abe286", - "hash": "sha256-172yvjgbFWQyd0PBRl74PJzpY/mDGC85D7PdeogNodU=" + "rev": "571c76e919c0c48219ced35bef83e1fc83b00eed", + "hash": "sha256-ib9wbV6S64OFc4zx0wQsQ84+5RxbETK0PS9Wm1BFQ1U=" }, "src/third_party/breakpad/breakpad": { "url": "https://chromium.googlesource.com/breakpad/breakpad.git", - "rev": "6b0c5b7ee1988a14a4af94564e8ae8bba8a94374", - "hash": "sha256-kTkwRfaqw5ZCHEvu2YPZ+1vCfekHkY5pY3m9snDN64g=" + "rev": "47f7823bdf4b1f39e462b2a497a674860e922e38", + "hash": "sha256-cFXUi2oO/614jF0GV7oW0ss62dXWFHDNWNT8rWHAiQc=" }, "src/third_party/cast_core/public/src": { "url": "https://chromium.googlesource.com/cast_core/public", - "rev": "71f51fd6fa45fac73848f65421081edd723297cd", - "hash": "sha256-AalRQhJmornCqmvE2+36J/3LubaA0jr6P1PXy32lX4I=" + "rev": "fbc5e98031e1271a0a566fcd4d9092b2d3275d05", + "hash": "sha256-o5/Lbhh6HHSWCVCEyDwDCgs+PLm67si981w0HuIWY7c=" }, "src/third_party/catapult": { "url": "https://chromium.googlesource.com/catapult.git", - "rev": "44791916611acec1cd74c492c7453e46d9b0dbd2", - "hash": "sha256-SkF+RIIlU8Vl3AmN6kARkLuVz/X5vygNOtGN2K3Sr+M=" + "rev": "b91cf840ac3255ef03b23cc93621369627422a1a", + "hash": "sha256-65cZPyqZUdSnYPJYUMYeJgx3mUC6L/qb9P2bDqd2Zkk=" }, "src/third_party/ced/src": { "url": "https://chromium.googlesource.com/external/github.com/google/compact_enc_det.git", @@ -961,8 +966,8 @@ }, "src/third_party/chromium-variations": { "url": "https://chromium.googlesource.com/chromium-variations.git", - "rev": "7d681838b57a25ca6659b9cc0111f879147c416b", - "hash": "sha256-zio8SqKEqOYYjVWZnzfrPqngqym2lZu9M/hgSi3ey0Q=" + "rev": "c170abb48f7715c237f4c06eaed0fe6f8a4c6f8d", + "hash": "sha256-mg5mu2jcy0xyNJ650ywWUMC94keRsqhZQuPZclHmyLI=" }, "src/third_party/cld_3/src": { "url": "https://chromium.googlesource.com/external/github.com/google/cld_3.git", @@ -981,8 +986,8 @@ }, "src/third_party/cpuinfo/src": { "url": "https://chromium.googlesource.com/external/github.com/pytorch/cpuinfo.git", - "rev": "1e83a2fdd3102f65c6f1fb602c1b320486218a99", - "hash": "sha256-28cFACca+NYE8oKlP5aWXNCLeEjhWqJ6gRnFI+VxDvg=" + "rev": "8df44962d437a0477f07ba6b8843d0b6a48646a4", + "hash": "sha256-FlvmSjY8kt5XHymDLaZdPuZ4k5xcagJk8w/U6adTkWI=" }, "src/third_party/crc32c/src": { "url": "https://chromium.googlesource.com/external/github.com/google/crc32c.git", @@ -991,23 +996,23 @@ }, "src/third_party/cros_system_api": { "url": "https://chromium.googlesource.com/chromiumos/platform2/system_api.git", - "rev": "b08c5ad457bddea2664ba20fb25beb3d1799fed2", - "hash": "sha256-cwpcY8YTXk+VVIFphO5ihc5rvbG3ZY9iHeK81P5DHBs=" + "rev": "554629b9242e6ae832ef14e3384654426f7fcc06", + "hash": "sha256-fvGypRhgl2uX9YE2cwjL7d3pYBa3Imd5p0RLhMYRgrc=" }, "src/third_party/crossbench": { "url": "https://chromium.googlesource.com/crossbench.git", - "rev": "b4d7ae714c548c3e139b95a85582dc15ece1d2f7", - "hash": "sha256-1RDDbvce5WR32if3cFYxiU9HS04x3BYIgOFJPMVJSBo=" + "rev": "ae6f165652e0ea983d73f5d04b7470d08c869e4f", + "hash": "sha256-/K6eM9s+fd2wjCrK0g0CgFNy0zxEN9SxTvmE50hMtXw=" }, "src/third_party/depot_tools": { "url": "https://chromium.googlesource.com/chromium/tools/depot_tools.git", - "rev": "20b9bdcace7ed561d6a75728c85373503473cb6b", - "hash": "sha256-vlBENaVTtbwDJtSswuszcUlx+icZYJeP6ew6MO1cAv0=" + "rev": "41d43a2a2290450aeab946883542f8049b155c87", + "hash": "sha256-m/6b4VZZTUQOeED1mYvZOQCx8Re+Zd4O8SKDMjJ9Djo=" }, "src/third_party/devtools-frontend/src": { "url": "https://chromium.googlesource.com/devtools/devtools-frontend", - "rev": "5284f1c63b2b08c47b8915ce713a1aace991dfe9", - "hash": "sha256-1Nh9SVIAde4jxgwFucbtZpl6rMyPM4Plfi+dhwP0wI8=" + "rev": "f2f3682c9db8ca427f8c64f0402cc2c5152c6c24", + "hash": "sha256-mBWZdbgZfO01Pt2lZSHX/d5r+8A/+qCZA8MRtZdeTrs=" }, "src/third_party/dom_distiller_js/dist": { "url": "https://chromium.googlesource.com/chromium/dom-distiller/dist.git", @@ -1016,8 +1021,8 @@ }, "src/third_party/eigen3/src": { "url": "https://chromium.googlesource.com/external/gitlab.com/libeigen/eigen.git", - "rev": "7eea0a9213e801ad9479a6499fd0330ec1db8693", - "hash": "sha256-JkOjOnLrDOcYHi3hptT1BDRvsKpTtOsBHT8YLb1hlJM=" + "rev": "b396a6fbb2e173f52edb3360485dedf3389ef830", + "hash": "sha256-UroGjERR5TW9KbyLwR/NBpytXrW1tHfu6ZvQPngROq4=" }, "src/third_party/farmhash/src": { "url": "https://chromium.googlesource.com/external/github.com/google/farmhash.git", @@ -1031,8 +1036,8 @@ }, "src/third_party/ffmpeg": { "url": "https://chromium.googlesource.com/chromium/third_party/ffmpeg.git", - "rev": "686d6944501a6ee9c849581e3fe343273d4af3f6", - "hash": "sha256-j5mpWn4j+U4rRlXbq8okUUXrRKycZkiV+UntiS90ChM=" + "rev": "591ae4b02eaff9a03e2ec863da895128b0b49910", + "hash": "sha256-wwHxNuZe2hBmGBpVg/iQJBoL350jfPYPTPqDn3RiqZE=" }, "src/third_party/flac": { "url": "https://chromium.googlesource.com/chromium/deps/flac.git", @@ -1066,8 +1071,8 @@ }, "src/third_party/freetype/src": { "url": "https://chromium.googlesource.com/chromium/src/third_party/freetype2.git", - "rev": "f02bffad0fd57f3acfa835c3f2899c5b71ff8be0", - "hash": "sha256-Lc2hbmZnnXQa0vzlJCizNBQ5WCOI5sJglTTe5gWVYUA=" + "rev": "0ae7e607370cc66218ccfacf5de4db8a35424c2f", + "hash": "sha256-+nbRZi3vAMTURhhFVUu5+59fVIv0GH3YZog2JavyVLY=" }, "src/third_party/freetype-testing/src": { "url": "https://chromium.googlesource.com/external/github.com/freetype/freetype2-testing.git", @@ -1116,8 +1121,8 @@ }, "src/third_party/googletest/src": { "url": "https://chromium.googlesource.com/external/github.com/google/googletest.git", - "rev": "62df7bdbc10887e094661e07ec2595b7920376fd", - "hash": "sha256-Iv/7r79cKC1pFkxPPHK/IHv/HFx18XZ4YVr+C2CX8+M=" + "rev": "d144031940543e15423a25ae5a8a74141044862f", + "hash": "sha256-n7tiIFAj8AiSCa9Tw+1j+ro9cSt5vagZpkbBBUUtYQY=" }, "src/third_party/hunspell_dictionaries": { "url": "https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git", @@ -1141,8 +1146,8 @@ }, "src/third_party/libFuzzer/src": { "url": "https://chromium.googlesource.com/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git", - "rev": "487e79376394754705984c5de7c4ce7f82f2bd7c", - "hash": "sha256-xQXfRIcQmAVP0k2mT7Blv1wBxL6wDaWTbIPGcTiMZRo=" + "rev": "a7128317fe7935a43d6c9f39df54f21113951941", + "hash": "sha256-jPS+Xi/ia0sMspxSGN38zasmVS/HslxH/qOFsV9TguE=" }, "src/third_party/fuzztest/src": { "url": "https://chromium.googlesource.com/external/github.com/google/fuzztest.git", @@ -1161,28 +1166,23 @@ }, "src/third_party/libaom/source/libaom": { "url": "https://aomedia.googlesource.com/aom.git", - "rev": "840f8797871cc587f7113ea9d2483a1156d57c0e", - "hash": "sha256-2XHqNAmv2L3TEFXu4Q6rnASLmuE93QplSVKNqyhlKUk=" + "rev": "be60f06ab420d6a65c477213f04c8b0f2e12ba2e", + "hash": "sha256-9VhEVOG9cReDOGoX+x5G/jJ8Y5RDoQIiLMoZtt5c9pI=" }, "src/third_party/libavif/src": { "url": "https://chromium.googlesource.com/external/github.com/AOMediaCodec/libavif.git", - "rev": "2c36aed375fff68611641b57d919b191f33431d5", - "hash": "sha256-fApdfzEtQnmio6BVzkcr/VkwojrNs+cx/+Am80H9dXw=" + "rev": "1cdeff7ecf456492c47cf48fc0cef6591cdc95da", + "hash": "sha256-lUuVyh2srhWMNUp4lEivyDic3MSZf5s63iAb84We80M=" }, "src/third_party/crabbyavif/src": { "url": "https://chromium.googlesource.com/external/github.com/webmproject/CrabbyAvif.git", - "rev": "ffad64ff4e349f926ad5ffcc882e205a94156d77", - "hash": "sha256-M2ExAgLm/NZ2soQEv3Ap/qx/B3+nd3NdDqYOL0E/pc8=" - }, - "src/third_party/libavifinfo/src": { - "url": "https://aomedia.googlesource.com/libavifinfo.git", - "rev": "8d8b58a3f517ef8d1794baa28ca6ae7d19f65514", - "hash": "sha256-61OPjdMCIbHvWncmBzNw6sqlHcuc1kyqm9k1j4UTcZ0=" + "rev": "c3548280e0a516ed7cad7ff1591b5807cef64aa4", + "hash": "sha256-hO5epHYNYI6pGwVSUv1Hp3qb7qOv8uOs4u+IdhDxd8Q=" }, "src/third_party/nearby/src": { "url": "https://chromium.googlesource.com/external/github.com/google/nearby-connections.git", - "rev": "1b382075dd1bd545655af7ebef949b3090061b74", - "hash": "sha256-kpyJiFXtk8eK8EkgzUbG0GS+znEeqzlB62qy9tPpEC8=" + "rev": "8e87a6e51c93e7836ecdbcc0a520c7992f3ece13", + "hash": "sha256-DO3FW5Q233ctFKk4K5F8oZec9kfrVl6uxAwMn0niKz4=" }, "src/third_party/beto-core/src": { "url": "https://beto-core.googlesource.com/beto-core.git", @@ -1206,8 +1206,8 @@ }, "src/third_party/cros-components/src": { "url": "https://chromium.googlesource.com/external/google3/cros_components.git", - "rev": "902e8ca804ae6c05f505e510c16647c32ce4d1cb", - "hash": "sha256-j2m9zVajkAdPF1ehLX0Gxp4LyMunhFDDCzrCm2WzArc=" + "rev": "9129cf4b2a5ca775c280243257a0b4856a93c7fb", + "hash": "sha256-owXaTIj0pbhUeJkirxaRoCmgIN9DwNzY3h771kaN+Fc=" }, "src/third_party/libdrm/src": { "url": "https://chromium.googlesource.com/chromiumos/third_party/libdrm.git", @@ -1256,8 +1256,8 @@ }, "src/third_party/libvpx/source/libvpx": { "url": "https://chromium.googlesource.com/webm/libvpx.git", - "rev": "906334ac1de2b0afa666472dce5545b82c1251fb", - "hash": "sha256-7GInV/uHuK6bUa1dSBuxJn6adyjfoOqSqfmfTvQbAoc=" + "rev": "727319a77ffe68e9aacb08e09ae7151b3a8f70a3", + "hash": "sha256-QGm37X4uid8zv+vRu0pVTvoQd2WcKztrj3tJkDjx82o=" }, "src/third_party/libwebm/source": { "url": "https://chromium.googlesource.com/webm/libwebm.git", @@ -1271,8 +1271,8 @@ }, "src/third_party/libyuv": { "url": "https://chromium.googlesource.com/libyuv/libyuv.git", - "rev": "a8e59d207483f75b87dd5fc670e937672cdf5776", - "hash": "sha256-gTNmhYuYmt/JmWSAVbcE4PqG3kW/JaL7XEWXbiNVfMM=" + "rev": "6ac7c8f25170c85265fca69fd1fe5d31baf3344f", + "hash": "sha256-vPVq7RzqO7gBUgYuNX0Fwxqok9jtXXJZgbhVFchG5Ws=" }, "src/third_party/lss": { "url": "https://chromium.googlesource.com/linux-syscall-support.git", @@ -1306,8 +1306,8 @@ }, "src/third_party/openscreen/src": { "url": "https://chromium.googlesource.com/openscreen", - "rev": "4f27c4f1698522dfcea36dca948a13e2eaf4c26c", - "hash": "sha256-dosSqpFlvli60ZJ0vexVZOK/FmzOYq5BDrZKZW0lMfc=" + "rev": "cb6fd42532fc3a831d6863d5006217e32a67c417", + "hash": "sha256-IlGxfw6Mhc7FYvhU2+Ngt9qflqr4JMC2OcplvksGI+U=" }, "src/third_party/openscreen/src/buildtools": { "url": "https://chromium.googlesource.com/chromium/src/buildtools", @@ -1321,13 +1321,13 @@ }, "src/third_party/pdfium": { "url": "https://pdfium.googlesource.com/pdfium.git", - "rev": "7a8409531fbb58d7d15ae331e645977b113d7ced", - "hash": "sha256-KlqgaOxKJQHHjU1g1VCcJEBhv809DdEUedrxdk8N99I=" + "rev": "84a8011ec69d0e2de271c05be7d62979608040d9", + "hash": "sha256-d8qJECIdq01ct+sS7cHVKFulYJarwahKCEcVf762JNI=" }, "src/third_party/perfetto": { "url": "https://android.googlesource.com/platform/external/perfetto.git", - "rev": "24764a1d9c2fce1e9816ffae691f00353ade330d", - "hash": "sha256-FAaxTuIYExmL3PSWwcvLpnPD4qsGDGr4/CIyi0NSrnI=" + "rev": "ea011a2c2d3aecdc4f1674887e107a56d2905edd", + "hash": "sha256-3vervpsq/QLMrR7RcJMwwh+CdFvSEj8yAzj6s9d1XMo=" }, "src/third_party/protobuf-javascript/src": { "url": "https://chromium.googlesource.com/external/github.com/protocolbuffers/protobuf-javascript", @@ -1346,8 +1346,8 @@ }, "src/third_party/quic_trace/src": { "url": "https://chromium.googlesource.com/external/github.com/google/quic-trace.git", - "rev": "caa0a6eaba816ecb737f9a70782b7c80b8ac8dbc", - "hash": "sha256-Nf9ZDLcE1JunhbpEMHhrY2ROnbgrvVZoRkPwWq1DU0g=" + "rev": "413da873d93a03d3662f24b881ea459a79f9c589", + "hash": "sha256-N1uFoNd3mz/LH1z06581Ds7BUyc67SNXUPzqomYREr8=" }, "src/third_party/pywebsocket3/src": { "url": "https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/pywebsocket3.git", @@ -1366,8 +1366,8 @@ }, "src/third_party/skia": { "url": "https://skia.googlesource.com/skia.git", - "rev": "f14f6b1ab7cf544c0190074488d17821281cfa4d", - "hash": "sha256-0p57otDuIShl6MngYs22XA1QYxptDVa3vCwJsH59H34=" + "rev": "c17fe9bc158c29de3cdd655ac73d14f52c17810a", + "hash": "sha256-mRfkEm+NzEX0DkJejk1THx4G7v0sIFmRrAnt3Zl5uco=" }, "src/third_party/smhasher/src": { "url": "https://chromium.googlesource.com/external/smhasher.git", @@ -1386,8 +1386,8 @@ }, "src/third_party/swiftshader": { "url": "https://swiftshader.googlesource.com/SwiftShader.git", - "rev": "7a9a492a38b7c701f7c96a15a76046aed8f8c0c3", - "hash": "sha256-6uBO4jwPSqhT4j+KTE0Za7B4prrE2kstsHNtHwTJX+Q=" + "rev": "d5c4284774115bb1e32c012a2be1b5fbeb1ab1f9", + "hash": "sha256-h2BHyaOM0oscfX5cu8s4N1yyOkg/yQbvwD1DxF+RAQc=" }, "src/third_party/text-fragments-polyfill/src": { "url": "https://chromium.googlesource.com/external/github.com/GoogleChromeLabs/text-fragments-polyfill.git", @@ -1396,18 +1396,18 @@ }, "src/third_party/tflite/src": { "url": "https://chromium.googlesource.com/external/github.com/tensorflow/tensorflow.git", - "rev": "689e8a82f8070a372981b7476fb673e243330d71", - "hash": "sha256-tImVDNyS5hCN6A1ODeVuB7XLCNr3EdxN8x961nPCM9g=" + "rev": "658227d3b535287dc6859788bde6076c4fe3fe7c", + "hash": "sha256-gOUt/NljRK5wMFwy2aLqZ5NHwk4y/GxbQ+AZ3MxM0M8=" }, "src/third_party/vulkan-deps": { "url": "https://chromium.googlesource.com/vulkan-deps", - "rev": "73fd75175922012f21557239b7743a152ea7f1fd", - "hash": "sha256-D8UIXXQX6dTxbuqFgd6AbmErr1r9839yiN6MrJlsqPw=" + "rev": "0b56dd5952b25fad65139b64096fcd187048ed38", + "hash": "sha256-LVWvbMLjkMyAUM+0UpQ4oRsfcRU5F/xY60wiwxth4Ko=" }, "src/third_party/glslang/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang", - "rev": "2acc4ea0028bc703be2d4e9bc8a4032d015d6516", - "hash": "sha256-mwcvSRycM8bq3dDWk4yfkL8Tg5bfEap6lrr1Oxemzy4=" + "rev": "9c644fcb5b9a1a9c975c50a790fd14c5451292b0", + "hash": "sha256-twWSeJp9bNbLYFszCWv9BCztfbXUBKSWV55/U+hd2hw=" }, "src/third_party/spirv-cross/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross", @@ -1416,38 +1416,38 @@ }, "src/third_party/spirv-headers/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers", - "rev": "50bc4debdc3eec5045edbeb8ce164090e29b91f3", - "hash": "sha256-Zv5QZ8MmP45MH5e6EBDNPmP0vcjjNXJHKva5MNh5ovA=" + "rev": "996c728cf7dcfb29845cfa15222822318f047810", + "hash": "sha256-FrT/kVIMjcu2zv+7kDeNKM77NnOyMBb8pV0w8DBP42A=" }, "src/third_party/spirv-tools/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools", - "rev": "42b315c15b1ff941b46bb3949c105e5386be8717", - "hash": "sha256-xb0TlPyXP2wu7jMrWZu+z8WC5mk0CbYgvkZEt3r+mww=" + "rev": "9117e042b93d4ff08d2406542708170f77aaa2a3", + "hash": "sha256-m/a1i26u8lzpKuQHyAy6ktWWjbLZEaio1awz8VovTGE=" }, "src/third_party/vulkan-headers/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers", - "rev": "14345dab231912ee9601136e96ca67a6e1f632e7", - "hash": "sha256-ny/UVx4r+Fj39ZEepaWqDPplAJcrBQEQlkqsSofwLJ0=" + "rev": "cbcad3c0587dddc768d76641ea00f5c45ab5a278", + "hash": "sha256-exXzafLgrgxyRvaF+4pCF+OLtPT2gDmcvzazQ4EQ1eA=" }, "src/third_party/vulkan-loader/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader", - "rev": "bd1c8ea9c6ac51e4c3a6ddb9d602bb204678eb5f", - "hash": "sha256-Ze/DGiD8Zj3mY+5Pi+tf6xMrX2YBqfl4Nc37b/JgmnI=" + "rev": "b0177a972b8d47e823a4500cf88df88a8c27add7", + "hash": "sha256-NDp2TLeMLAHb92R+PjaPDTx8ckIlpSsS3BNx3lerB68=" }, "src/third_party/vulkan-tools/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools", - "rev": "c9a5acda16dc2759457dc856b5d7df00ac5bf4a2", - "hash": "sha256-0JzqUW6XbhPbLGs/smuNG6zQoWP8iaAO5VglGSyN94g=" + "rev": "15f2de809304aba619ee327f3273425418ca83de", + "hash": "sha256-PiWKL045DAOGm+Hl/UyO6vmD4fVfuf2fSvXK6gSYbwo=" }, "src/third_party/vulkan-utility-libraries/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Utility-Libraries", - "rev": "8c907ea21fe0147f791d79051b18e21bc8c4ede0", - "hash": "sha256-2abhzNt/rKbAhGQZhUhQ2LoemtU1Yh1fx9rrijOtjy4=" + "rev": "87ab6b39a97d084a2ef27db85e3cbaf5d2622a09", + "hash": "sha256-luDw6g/EMSK67Et2wNta74PHGQU6Y7IRpDlSpgDYV6Q=" }, "src/third_party/vulkan-validation-layers/src": { "url": "https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers", - "rev": "cbb4ab171fc7cd0b636a76ee542e238a8734f4be", - "hash": "sha256-nKpS0ddAsN2KhOg6J/SwB8ZlVXrJTVixD4DuUkyxb6c=" + "rev": "bc2c38412f739c298d6f5c076c064e6b5696959f", + "hash": "sha256-WWV+P++0Czeqg5p2UTqIP81pY8oz7cS7E7Z/sc0km6g=" }, "src/third_party/vulkan_memory_allocator": { "url": "https://chromium.googlesource.com/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git", @@ -1486,13 +1486,13 @@ }, "src/third_party/webgpu-cts/src": { "url": "https://chromium.googlesource.com/external/github.com/gpuweb/cts.git", - "rev": "ae8b3ca40fbeee0bc67ef41a6c5b6dd5af839344", - "hash": "sha256-7u5Ay43GtcVTt3Cwg/5OaYQdG6SXXYtUun7DVN+XChE=" + "rev": "b9f32fd2943dd2b3d0033bf938c9d843f4b5c9a9", + "hash": "sha256-Dd5uWNtnBIc2jiMkh9KjI5O1tJtmMvdlMA2nf+VOkQQ=" }, "src/third_party/webrtc": { "url": "https://webrtc.googlesource.com/src.git", - "rev": "79aff54b0fa9238ce3518dd9eaf9610cd6f22e82", - "hash": "sha256-xkMnUduSG88EWiwq6PITN0KgAKjFd4QOis3dgxedK30=" + "rev": "afaf497805cbb502da89991c2dcd783201efdd08", + "hash": "sha256-S8kGTd3+lf5OTayCMOqqrjxH4tcbT0NLZBpKmTCysMs=" }, "src/third_party/wuffs/src": { "url": "https://skia.googlesource.com/external/github.com/google/wuffs-mirror-release-c.git", @@ -1511,8 +1511,8 @@ }, "src/third_party/xnnpack/src": { "url": "https://chromium.googlesource.com/external/github.com/google/XNNPACK.git", - "rev": "3986629de01e518a3f2359bf5629ef2b7ef72330", - "hash": "sha256-x8GQUj75mQXswI3b29tS9u25Zx3peYqDM8v1/wkC9cs=" + "rev": "d1d33679661a34f03a806af2b813f699db3004f9", + "hash": "sha256-aDPlmLxNY9M5+Qb8VtdfxphHXU/X6JwYhkUSXkLh/FE=" }, "src/tools/page_cycler/acid3": { "url": "https://chromium.googlesource.com/chromium/deps/acid3.git", @@ -1521,13 +1521,13 @@ }, "src/third_party/zstd/src": { "url": "https://chromium.googlesource.com/external/github.com/facebook/zstd.git", - "rev": "20707e3718ee14250fb8a44b3bf023ea36bd88df", - "hash": "sha256-/IUfh0De9m7ACrisqKlpxZsb+asoAWGXCaK6L+s24Q8=" + "rev": "7fb5347e88f10472226c9aa1962a148e55d8c480", + "hash": "sha256-4J/F2v2W3mMdhqQ4q35gYkGaqTKlcG6OxUt3vQ8pcLs=" }, "src/v8": { "url": "https://chromium.googlesource.com/v8/v8.git", - "rev": "9c09e7876ff830e1f9a731aa930040d1028ff5a1", - "hash": "sha256-OKa0W4s3VfaQ/MBHkrkZ8/LeRGqjGh9hTaqet7S4o58=" + "rev": "e51f1d7dbd113aa01ddfb30890c8a89b11fcd96c", + "hash": "sha256-KJirPTvmC6vRTvrl6Nl0SQSieX/OhgfIiTblMxgoAvU=" } } } diff --git a/pkgs/applications/networking/browsers/librewolf/src.json b/pkgs/applications/networking/browsers/librewolf/src.json index 5c645dc7165c..c97fdea4af83 100644 --- a/pkgs/applications/networking/browsers/librewolf/src.json +++ b/pkgs/applications/networking/browsers/librewolf/src.json @@ -1,11 +1,11 @@ { - "packageVersion": "134.0-1", + "packageVersion": "134.0.1-1", "source": { - "rev": "134.0-1", - "sha256": "bu9ec9gK4b1OkC2Z1ycr/lmhrSB5TcIqcHXaZxf0Vmw=" + "rev": "134.0.1-1", + "hash": "sha256-YtZb+VaJu+zofIjJUUx6FjVsEb1sCgFsGlxgP++Yki0=" }, "firefox": { - "version": "134.0", - "sha512": "EnWmhtwKJ7SN9K4FYWURUS9nbgNHTjCVslIerCWjhdNFqj6HhnFtvoEq9J4H1ysydyR5CJ1kiWjiAEygycNTRA==" + "version": "134.0.1", + "hash": "sha512-P0DKWnU6ZuCK9OixLXX+q2ewVn7P/TT1zwE/Sa64CczUWMgBHpRW3JAsJOr2JgeBF4dFFOtAzuVXTq/Ok+53LQ==" } } diff --git a/pkgs/applications/networking/browsers/librewolf/src.nix b/pkgs/applications/networking/browsers/librewolf/src.nix index ead541fa36d6..da05c980e09b 100644 --- a/pkgs/applications/networking/browsers/librewolf/src.nix +++ b/pkgs/applications/networking/browsers/librewolf/src.nix @@ -8,15 +8,19 @@ let in { inherit (src) packageVersion; - source = fetchFromGitea { - domain = "codeberg.org"; - owner = "librewolf"; - repo = "source"; - fetchSubmodules = true; - inherit (src.source) rev sha256; - }; - firefox = fetchurl { - url = "mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz"; - inherit (src.firefox) sha512; - }; + source = fetchFromGitea ( + src.source + // { + domain = "codeberg.org"; + owner = "librewolf"; + repo = "source"; + fetchSubmodules = true; + } + ); + firefox = fetchurl ( + src.firefox + // { + url = "mirror://mozilla/firefox/releases/${src.firefox.version}/source/firefox-${src.firefox.version}.source.tar.xz"; + } + ); } diff --git a/pkgs/applications/office/paperwork/openpaperwork-core.nix b/pkgs/applications/office/paperwork/openpaperwork-core.nix index 01317f647589..44672bcf4cf4 100644 --- a/pkgs/applications/office/paperwork/openpaperwork-core.nix +++ b/pkgs/applications/office/paperwork/openpaperwork-core.nix @@ -1,7 +1,7 @@ { buildPythonPackage, lib, - fetchFromGitLab, + callPackage, isPy3k, isPyPy, @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "openpaperwork-core"; - inherit (import ./src.nix { inherit fetchFromGitLab; }) version src; + inherit (callPackage ./src.nix { }) version src; format = "pyproject"; sourceRoot = "${src.name}/openpaperwork-core"; diff --git a/pkgs/applications/office/paperwork/openpaperwork-gtk.nix b/pkgs/applications/office/paperwork/openpaperwork-gtk.nix index 2e88ee23bfe5..a2bbb74abd31 100644 --- a/pkgs/applications/office/paperwork/openpaperwork-gtk.nix +++ b/pkgs/applications/office/paperwork/openpaperwork-gtk.nix @@ -1,7 +1,7 @@ { buildPythonPackage, lib, - fetchFromGitLab, + callPackage, isPy3k, isPyPy, @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "openpaperwork-gtk"; - inherit (import ./src.nix { inherit fetchFromGitLab; }) version src; + inherit (callPackage ./src.nix { }) version src; format = "pyproject"; sourceRoot = "${src.name}/openpaperwork-gtk"; diff --git a/pkgs/applications/office/paperwork/paperwork-backend.nix b/pkgs/applications/office/paperwork/paperwork-backend.nix index 0d0cee9f69fc..da40d64aff0c 100644 --- a/pkgs/applications/office/paperwork/paperwork-backend.nix +++ b/pkgs/applications/office/paperwork/paperwork-backend.nix @@ -1,7 +1,7 @@ { buildPythonPackage, lib, - fetchFromGitLab, + callPackage, pyenchant, scikit-learn, pypillowfight, @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "paperwork-backend"; - inherit (import ./src.nix { inherit fetchFromGitLab; }) version src; + inherit (callPackage ./src.nix { }) version src; format = "pyproject"; sourceRoot = "${src.name}/paperwork-backend"; diff --git a/pkgs/applications/office/paperwork/paperwork-gtk.nix b/pkgs/applications/office/paperwork/paperwork-gtk.nix index 3f8876779d83..0ff7a13e031f 100644 --- a/pkgs/applications/office/paperwork/paperwork-gtk.nix +++ b/pkgs/applications/office/paperwork/paperwork-gtk.nix @@ -1,5 +1,6 @@ { lib, + callPackage, python3Packages, gtk3, cairo, @@ -9,7 +10,6 @@ dbus, libnotify, wrapGAppsHook3, - fetchFromGitLab, which, gettext, gobject-introspection, @@ -32,7 +32,7 @@ let imagemagick perlPackages.Po4a ]; - inherit (import ./src.nix { inherit fetchFromGitLab; }) version src sample_documents; + inherit (callPackage ./src.nix { }) version src sample_documents; in python3Packages.buildPythonApplication rec { diff --git a/pkgs/applications/office/paperwork/paperwork-shell.nix b/pkgs/applications/office/paperwork/paperwork-shell.nix index 21e3976a9ada..787c7193ef9f 100644 --- a/pkgs/applications/office/paperwork/paperwork-shell.nix +++ b/pkgs/applications/office/paperwork/paperwork-shell.nix @@ -1,7 +1,7 @@ { buildPythonPackage, lib, - fetchFromGitLab, + callPackage, isPy3k, isPyPy, @@ -21,7 +21,7 @@ buildPythonPackage rec { pname = "paperwork-shell"; - inherit (import ./src.nix { inherit fetchFromGitLab; }) version src; + inherit (callPackage ./src.nix { }) version src; format = "pyproject"; sourceRoot = "${src.name}/paperwork-shell"; diff --git a/pkgs/applications/office/paperwork/src.nix b/pkgs/applications/office/paperwork/src.nix index 5f83eddd3fb7..7038309799e8 100644 --- a/pkgs/applications/office/paperwork/src.nix +++ b/pkgs/applications/office/paperwork/src.nix @@ -1,14 +1,34 @@ -{ fetchFromGitLab }: +{ + fetchFromGitLab, + srcOnly, + fetchpatch, +}: rec { version = "2.2.5"; - src = fetchFromGitLab { - domain = "gitlab.gnome.org"; - repo = "paperwork"; - group = "World"; - owner = "OpenPaperwork"; - rev = version; - sha256 = "sha256-PRh0ohmPLwpM76qYfbExFqq4OK6Hm0fbdzrjXungSoY="; + src = srcOnly { + pname = "paperwork-patched-src"; + inherit version; + src = fetchFromGitLab { + domain = "gitlab.gnome.org"; + repo = "paperwork"; + group = "World"; + owner = "OpenPaperwork"; + rev = version; + sha256 = "sha256-PRh0ohmPLwpM76qYfbExFqq4OK6Hm0fbdzrjXungSoY="; + }; + patches = [ + # fix installing translations + # remove on next release + ( + assert version == "2.2.5"; + fetchpatch { + url = "https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/commit/b8e2633ace0f3d9d57e68c27db8f594b8a5ddd7e.patch"; + hash = "sha256-VUT86kF0ZHLGK457ZrrIBMeiZqg/rPRpbkBA/ua9rU8="; + } + ) + ]; }; + sample_documents = fetchFromGitLab { domain = "gitlab.gnome.org"; repo = "paperwork-test-documents"; diff --git a/pkgs/applications/science/biology/samtools/default.nix b/pkgs/applications/science/biology/samtools/default.nix index f7426dd11270..10bb0010a940 100644 --- a/pkgs/applications/science/biology/samtools/default.nix +++ b/pkgs/applications/science/biology/samtools/default.nix @@ -10,11 +10,11 @@ stdenv.mkDerivation rec { pname = "samtools"; - version = "1.19.2"; + version = "1.21"; src = fetchurl { url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2"; - hash = "sha256-cfYEmWaOTAjn10X7/yTBXMigl3q6sazV0rtBm9sGXpY="; + hash = "sha256-BXJLCDprbwMF/K5SQ6BWzDbPgmMJw8uTR6a4nuP8Wto="; }; # tests require `bgzip` from the htslib package diff --git a/pkgs/applications/video/vdr/softhddevice/default.nix b/pkgs/applications/video/vdr/softhddevice/default.nix index 7f6637ec3f61..8dce8caae6a0 100644 --- a/pkgs/applications/video/vdr/softhddevice/default.nix +++ b/pkgs/applications/video/vdr/softhddevice/default.nix @@ -15,12 +15,12 @@ }: stdenv.mkDerivation rec { pname = "vdr-softhddevice"; - version = "2.4.1"; + version = "2.4.2"; src = fetchFromGitHub { owner = "ua0lnj"; repo = "vdr-plugin-softhddevice"; - sha256 = "sha256-bddPyOx8tCG+us9QQxO1t7rZK1HfZy3TFWtd5mPw2o4="; + sha256 = "sha256-T/A85lkKCjBaEaXGxVTurc1VY01mBCTv8t8m5qzvtpY="; rev = "v${version}"; }; diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix index be348027945a..8ec8874f51e4 100644 --- a/pkgs/applications/virtualization/virtualbox/default.nix +++ b/pkgs/applications/virtualization/virtualbox/default.nix @@ -38,7 +38,7 @@ libvpx, nettools, dbus, - substituteAll, + replaceVars, gsoap, zlib, xz, @@ -235,10 +235,11 @@ stdenv.mkDerivation (finalAttrs: { # these issues by patching the code to set QT_PLUGIN_PATH to the necessary paths, # after the code that unsets it. Note that qtsvg is included so that SVG icons from # the user's icon theme can be loaded. - ++ optional (!headless && enableHardening) (substituteAll { - src = ./qt-env-vars.patch; - qtPluginPath = "${qtbase}/bin/${qtbase.qtPluginPrefix}:${qtsvg}/bin/${qtbase.qtPluginPrefix}:${qtwayland}/bin/${qtbase.qtPluginPrefix}"; - }) + ++ optional (!headless && enableHardening) ( + replaceVars ./qt-env-vars.patch { + qtPluginPath = "${qtbase}/bin/${qtbase.qtPluginPrefix}:${qtsvg}/bin/${qtbase.qtPluginPrefix}:${qtwayland}/bin/${qtbase.qtPluginPrefix}"; + } + ) # While the KVM patch should not break any other behavior if --with-kvm is not specified, # we don't take any chances and only apply it if people actually want to use KVM support. ++ optional enableKvm ( diff --git a/pkgs/build-support/mitm-cache/default.nix b/pkgs/build-support/mitm-cache/default.nix index 80287e60a33a..8d206034f7ea 100644 --- a/pkgs/build-support/mitm-cache/default.nix +++ b/pkgs/build-support/mitm-cache/default.nix @@ -4,7 +4,7 @@ fetchFromGitHub, callPackage, rustPlatform, - substituteAll, + replaceVars, openssl, Security, python3Packages, @@ -27,8 +27,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-6eYOSSlswJGR2IrFo17qVnwI+h2FkyTjLFvwf62nG2c="; - setupHook = substituteAll { - src = ./setup-hook.sh; + setupHook = replaceVars ./setup-hook.sh { inherit openssl; ephemeral_port_reserve = python3Packages.ephemeral-port-reserve; }; diff --git a/pkgs/by-name/al/almo/package.nix b/pkgs/by-name/al/almo/package.nix index 6c7e2c516ff1..b9b9480d9ea1 100644 --- a/pkgs/by-name/al/almo/package.nix +++ b/pkgs/by-name/al/almo/package.nix @@ -5,18 +5,15 @@ gcc, python312Packages, }: -let - version = "0.9.5-alpha"; -in -stdenv.mkDerivation { +stdenv.mkDerivation (finalAttrs: { pname = "almo"; - inherit version; + version = "0.9.6-alpha"; src = fetchFromGitHub { owner = "abap34"; repo = "almo"; - tag = "v${version}"; - sha256 = "sha256-Cz+XDJmdp+utzwm1c7ThTNS6kfNF6r4B16tnGQSCVMc="; + tag = "v${finalAttrs.version}"; + hash = "sha256-eNigZUeUz6ZjQsn+0S6+Orv0WoLbqGgoA3+wG5ZcSBI="; }; buildInputs = [ @@ -45,7 +42,8 @@ stdenv.mkDerivation { license = lib.licenses.mit; platforms = lib.platforms.all; homepage = "https://github.com/abap34/almo"; + changelog = "https://github.com/abap34/almo/releases/tag/${finalAttrs.src.tag}"; maintainers = with lib.maintainers; [ momeemt ]; mainProgram = "almo"; }; -} +}) diff --git a/pkgs/by-name/al/alpine-make-rootfs/package.nix b/pkgs/by-name/al/alpine-make-rootfs/package.nix index c4c42b0acfcc..c16f44c6ad1f 100644 --- a/pkgs/by-name/al/alpine-make-rootfs/package.nix +++ b/pkgs/by-name/al/alpine-make-rootfs/package.nix @@ -16,13 +16,13 @@ }: stdenvNoCC.mkDerivation rec { pname = "alpine-make-rootfs"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "alpinelinux"; repo = "alpine-make-rootfs"; rev = "v${version}"; - hash = "sha256-3j++mbQc6ozayZISgDFS9r35ovP0qLoflT6ahp8SUbc="; + hash = "sha256-sNqaMBtbklSBcKxsc3ROI30bE1PUzJJeZqLqC9p3H+U="; }; nativeBuildInputs = [ makeWrapper ]; diff --git a/pkgs/by-name/ar/arc-browser/package.nix b/pkgs/by-name/ar/arc-browser/package.nix index 65fa10a52e49..9610a01feb64 100644 --- a/pkgs/by-name/ar/arc-browser/package.nix +++ b/pkgs/by-name/ar/arc-browser/package.nix @@ -10,11 +10,11 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "arc-browser"; - version = "1.77.0-57419"; + version = "1.78.1-57736"; src = fetchurl { url = "https://releases.arc.net/release/Arc-${finalAttrs.version}.dmg"; - hash = "sha256-euPJvD/BM0jVh3oBMsZNAZeyxTNRA4dmwIYNhwTjHoI="; + hash = "sha256-n81GMJ1Lhx8z/wwicyEKCbJM7WVi0mepSbefSXMuM3g="; }; nativeBuildInputs = [ undmg ]; diff --git a/pkgs/by-name/bc/bcc/bashreadline.py-remove-dependency-on-elftools.patch b/pkgs/by-name/bc/bcc/bashreadline.py-remove-dependency-on-elftools.patch new file mode 100644 index 000000000000..dfc3d3c9d2bb --- /dev/null +++ b/pkgs/by-name/bc/bcc/bashreadline.py-remove-dependency-on-elftools.patch @@ -0,0 +1,48 @@ +From 25c77bff079c331ae12d9e4499c82fdabf301610 Mon Sep 17 00:00:00 2001 +From: Dominique Martinet +Date: Sun, 21 Jul 2024 20:59:51 +0900 +Subject: [PATCH] bashreadline.py: remove dependency on elftools + +This helper is only here to differentiate between very old bash +versions or semi-recent ones; since we'll only catter to newer +bash versions we don't need to bother with elftools here: +just hardcode the newer symbol. +--- + tools/bashreadline.py | 14 +------------- + 1 file changed, 1 insertion(+), 13 deletions(-) + +diff --git a/tools/bashreadline.py b/tools/bashreadline.py +index 7e8324a2c0ea..e4b20aeb2371 100755 +--- a/tools/bashreadline.py ++++ b/tools/bashreadline.py +@@ -17,7 +17,6 @@ + # 12-Feb-2016 Allan McAleavy migrated to BPF_PERF_OUTPUT + + from __future__ import print_function +-from elftools.elf.elffile import ELFFile + from bcc import BPF + from time import strftime + import argparse +@@ -33,18 +32,7 @@ args = parser.parse_args() + + name = args.shared if args.shared else "/bin/bash" + +- +-def get_sym(filename): +- with open(filename, 'rb') as f: +- elf = ELFFile(f) +- symbol_table = elf.get_section_by_name(".dynsym") +- for symbol in symbol_table.iter_symbols(): +- if symbol.name == "readline_internal_teardown": +- return "readline_internal_teardown" +- return "readline" +- +- +-sym = get_sym(name) ++sym = "readline_internal_teardown" + + # load BPF program + bpf_text = """ +-- +2.45.2 + diff --git a/pkgs/by-name/bc/bcc/package.nix b/pkgs/by-name/bc/bcc/package.nix index b0f511c96b6c..e8404b9fb624 100644 --- a/pkgs/by-name/bc/bcc/package.nix +++ b/pkgs/by-name/bc/bcc/package.nix @@ -15,13 +15,14 @@ netperf, nixosTests, python3Packages, + readline, stdenv, zip, }: python3Packages.buildPythonApplication rec { pname = "bcc"; - version = "0.32.0"; + version = "0.33.0"; disabled = !stdenv.hostPlatform.isLinux; @@ -29,7 +30,7 @@ python3Packages.buildPythonApplication rec { owner = "iovisor"; repo = "bcc"; tag = "v${version}"; - hash = "sha256-urEHDDBBIdopQiT/QI5WtTbIO45pBk6bTNpfs8q/2hA="; + hash = "sha256-6dT3seLuEVQNKWiYGLK1ajXzW7pb62S/GQ0Lp4JdGjc="; }; format = "other"; @@ -50,6 +51,9 @@ python3Packages.buildPythonApplication rec { # This is needed until we fix # https://github.com/NixOS/nixpkgs/issues/40427 ./fix-deadlock-detector-import.patch + # Quick & dirty fix for bashreadline + # https://github.com/NixOS/nixpkgs/issues/328743 + ./bashreadline.py-remove-dependency-on-elftools.patch ]; propagatedBuildInputs = [ python3Packages.netaddr ]; @@ -85,7 +89,10 @@ python3Packages.buildPythonApplication rec { # https://github.com/iovisor/bcc/issues/3996 substituteInPlace src/cc/libbcc.pc.in \ - --replace '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ + --replace-fail '$'{exec_prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ + + substituteInPlace tools/bashreadline.py \ + --replace-fail '/bin/bash' '${readline}/lib/libreadline.so' ''; preInstall = '' diff --git a/pkgs/by-name/bi/bitwuzla/package.nix b/pkgs/by-name/bi/bitwuzla/package.nix index 4c3a3b718727..4fb78ff4e646 100644 --- a/pkgs/by-name/bi/bitwuzla/package.nix +++ b/pkgs/by-name/bi/bitwuzla/package.nix @@ -14,6 +14,7 @@ cryptominisat, zlib, pkg-config, + cmake, }: stdenv.mkDerivation (finalAttrs: { @@ -34,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: { pkg-config git ninja + cmake ]; buildInputs = [ cadical @@ -48,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: { # note: the default value for default_library fails to link dynamic dependencies # but setting it to shared works even in pkgsStatic "-Ddefault_library=shared" + "-Dcryptominisat=true" (lib.strings.mesonEnable "testing" finalAttrs.finalPackage.doCheck) ]; @@ -56,6 +59,28 @@ stdenv.mkDerivation (finalAttrs: { checkInputs = [ gtest ]; # two tests fail on darwin doCheck = stdenv.hostPlatform.isLinux; + doInstallCheck = true; + installCheckPhase = '' + runHook preInstallCheck + + export needle=11011110101011011011111011101111 + + cat > file.smt2 < -Date: Thu, 21 Nov 2024 06:28:45 +0200 -Subject: [PATCH] config: loosen up BaseDomain and ServerURL checks - -Requirements [here][1]: - -> OK: -> server_url: headscale.com, base: clients.headscale.com -> server_url: headscale.com, base: headscale.net -> -> Not OK: -> server_url: server.headscale.com, base: headscale.com -> -> Essentially we have to prevent the possibility where the headscale -> server has a URL which can also be assigned to a node. -> -> So for the Not OK scenario: -> -> if the server is: server.headscale.com, and a node joins with the name -> server, it will be assigned server.headscale.com and that will break -> the connection for nodes which will now try to connect to that node -> instead of the headscale server. - -Fixes #2210 - -[1]: https://github.com/juanfont/headscale/issues/2210#issuecomment-2488165187 ---- - hscontrol/types/config.go | 44 +++++++++++-- - hscontrol/types/config_test.go | 64 ++++++++++++++++++- - .../testdata/base-domain-in-server-url.yaml | 2 +- - 3 files changed, 102 insertions(+), 8 deletions(-) - -diff --git a/hscontrol/types/config.go b/hscontrol/types/config.go -index 50ce2f075f4c..b10118aaeade 100644 ---- a/hscontrol/types/config.go -+++ b/hscontrol/types/config.go -@@ -28,8 +28,9 @@ const ( - maxDuration time.Duration = 1<<63 - 1 - ) - --var errOidcMutuallyExclusive = errors.New( -- "oidc_client_secret and oidc_client_secret_path are mutually exclusive", -+var ( -+ errOidcMutuallyExclusive = errors.New("oidc_client_secret and oidc_client_secret_path are mutually exclusive") -+ errServerURLSuffix = errors.New("server_url cannot be part of base_domain in a way that could make the DERP and headscale server unreachable") - ) - - type IPAllocationStrategy string -@@ -814,10 +815,10 @@ func LoadServerConfig() (*Config, error) { - // - DERP run on their own domains - // - Control plane runs on login.tailscale.com/controlplane.tailscale.com - // - MagicDNS (BaseDomain) for users is on a *.ts.net domain per tailnet (e.g. tail-scale.ts.net) -- // -- // TODO(kradalby): remove dnsConfig.UserNameInMagicDNS check when removed. -- if !dnsConfig.UserNameInMagicDNS && dnsConfig.BaseDomain != "" && strings.Contains(serverURL, dnsConfig.BaseDomain) { -- return nil, errors.New("server_url cannot contain the base_domain, this will cause the headscale server and embedded DERP to become unreachable from the Tailscale node.") -+ if !dnsConfig.UserNameInMagicDNS && dnsConfig.BaseDomain != "" { -+ if err := isSafeServerURL(serverURL, dnsConfig.BaseDomain); err != nil { -+ return nil, err -+ } - } - - return &Config{ -@@ -910,6 +911,37 @@ func LoadServerConfig() (*Config, error) { - }, nil - } - -+// BaseDomain cannot be a suffix of the server URL. -+// This is because Tailscale takes over the domain in BaseDomain, -+// causing the headscale server and DERP to be unreachable. -+// For Tailscale upstream, the following is true: -+// - DERP run on their own domains. -+// - Control plane runs on login.tailscale.com/controlplane.tailscale.com. -+// - MagicDNS (BaseDomain) for users is on a *.ts.net domain per tailnet (e.g. tail-scale.ts.net). -+func isSafeServerURL(serverURL, baseDomain string) error { -+ server, err := url.Parse(serverURL) -+ if err != nil { -+ return err -+ } -+ -+ serverDomainParts := strings.Split(server.Host, ".") -+ baseDomainParts := strings.Split(baseDomain, ".") -+ -+ if len(serverDomainParts) <= len(baseDomainParts) { -+ return nil -+ } -+ -+ s := len(serverDomainParts) -+ b := len(baseDomainParts) -+ for i := range len(baseDomainParts) { -+ if serverDomainParts[s-i-1] != baseDomainParts[b-i-1] { -+ return nil -+ } -+ } -+ -+ return errServerURLSuffix -+} -+ - type deprecator struct { - warns set.Set[string] - fatals set.Set[string] -diff --git a/hscontrol/types/config_test.go b/hscontrol/types/config_test.go -index e6e8d6c2e0b1..68a13f6c0f40 100644 ---- a/hscontrol/types/config_test.go -+++ b/hscontrol/types/config_test.go -@@ -1,6 +1,7 @@ - package types - - import ( -+ "fmt" - "os" - "path/filepath" - "testing" -@@ -141,7 +142,7 @@ func TestReadConfig(t *testing.T) { - return LoadServerConfig() - }, - want: nil, -- wantErr: "server_url cannot contain the base_domain, this will cause the headscale server and embedded DERP to become unreachable from the Tailscale node.", -+ wantErr: errServerURLSuffix.Error(), - }, - { - name: "base-domain-not-in-server-url", -@@ -337,3 +338,64 @@ tls_letsencrypt_challenge_type: TLS-ALPN-01 - err = LoadConfig(tmpDir, false) - assert.NoError(t, err) - } -+ -+// OK -+// server_url: headscale.com, base: clients.headscale.com -+// server_url: headscale.com, base: headscale.net -+// -+// NOT OK -+// server_url: server.headscale.com, base: headscale.com. -+func TestSafeServerURL(t *testing.T) { -+ tests := []struct { -+ serverURL, baseDomain, -+ wantErr string -+ }{ -+ { -+ serverURL: "https://example.com", -+ baseDomain: "example.org", -+ }, -+ { -+ serverURL: "https://headscale.com", -+ baseDomain: "headscale.com", -+ }, -+ { -+ serverURL: "https://headscale.com", -+ baseDomain: "clients.headscale.com", -+ }, -+ { -+ serverURL: "https://headscale.com", -+ baseDomain: "clients.subdomain.headscale.com", -+ }, -+ { -+ serverURL: "https://headscale.kristoffer.com", -+ baseDomain: "mybase", -+ }, -+ { -+ serverURL: "https://server.headscale.com", -+ baseDomain: "headscale.com", -+ wantErr: errServerURLSuffix.Error(), -+ }, -+ { -+ serverURL: "https://server.subdomain.headscale.com", -+ baseDomain: "headscale.com", -+ wantErr: errServerURLSuffix.Error(), -+ }, -+ { -+ serverURL: "http://foo\x00", -+ wantErr: `parse "http://foo\x00": net/url: invalid control character in URL`, -+ }, -+ } -+ -+ for _, tt := range tests { -+ testName := fmt.Sprintf("server=%s domain=%s", tt.serverURL, tt.baseDomain) -+ t.Run(testName, func(t *testing.T) { -+ err := isSafeServerURL(tt.serverURL, tt.baseDomain) -+ if tt.wantErr != "" { -+ assert.EqualError(t, err, tt.wantErr) -+ -+ return -+ } -+ assert.NoError(t, err) -+ }) -+ } -+} -diff --git a/hscontrol/types/testdata/base-domain-in-server-url.yaml b/hscontrol/types/testdata/base-domain-in-server-url.yaml -index 683e021837c9..2d6a4694a09a 100644 ---- a/hscontrol/types/testdata/base-domain-in-server-url.yaml -+++ b/hscontrol/types/testdata/base-domain-in-server-url.yaml -@@ -8,7 +8,7 @@ prefixes: - database: - type: sqlite3 - --server_url: "https://derp.no" -+server_url: "https://server.derp.no" - - dns: - magic_dns: true --- -2.47.0 - diff --git a/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix b/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix index 69556f845e66..ec9d756e845c 100644 --- a/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix +++ b/pkgs/servers/home-assistant/custom-components/solax_modbus/package.nix @@ -8,13 +8,13 @@ buildHomeAssistantComponent rec { owner = "wills106"; domain = "solax_modbus"; - version = "2024.11.2"; + version = "2025.01.8"; src = fetchFromGitHub { owner = "wills106"; repo = "homeassistant-solax-modbus"; tag = version; - hash = "sha256-Hy4LHEDp+WPpmWKQQqqLjQ0xSnShQg3a68g8NMJ9o2k="; + hash = "sha256-jvz9CtVCuNu3w/1ebXcI8GNRAWajm51F9SMf13cBhlw="; }; dependencies = [ pymodbus ]; diff --git a/pkgs/servers/mir/default.nix b/pkgs/servers/mir/default.nix index a5e066e81225..57bc70f1a7a4 100644 --- a/pkgs/servers/mir/default.nix +++ b/pkgs/servers/mir/default.nix @@ -5,8 +5,8 @@ let in { mir = common { - version = "2.19.2"; - hash = "sha256-E6+FjYJUIgejpat1Kyl0B1JL+mnQd4rXjSQAPTX31qc="; + version = "2.19.3"; + hash = "sha256-WwT0cdLZJlVTTq8REuQrtYWdpRhqEDjYPHDy2oj8Edk="; }; mir_2_15 = common { diff --git a/pkgs/servers/monitoring/prometheus/zfs-exporter.nix b/pkgs/servers/monitoring/prometheus/zfs-exporter.nix index 0091485c9246..10ee71c20832 100644 --- a/pkgs/servers/monitoring/prometheus/zfs-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/zfs-exporter.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "zfs_exporter"; - version = "2.3.4"; + version = "2.3.6"; src = fetchFromGitHub { owner = "pdf"; repo = pname; rev = "v" + version; - hash = "sha256-wPahjWTZLt5GapkOmGdGSicAmSGte2BHf6zZBHd7D3g="; + hash = "sha256-en30/vKZDlqRvQW3n5yeMwLrukObw0d+NfzmdWvfXZE="; }; - vendorHash = "sha256-EUeP7ysMnFeQO8Gaxhhonxk40cUv04MSiEDsaEcjTuM="; + vendorHash = "sha256-fhodh5EcvAX2fruwv0e9VNAti2jKa7kEDQCVSDFl48A="; ldflags = [ "-s" diff --git a/pkgs/tools/system/nvidia-system-monitor-qt/default.nix b/pkgs/tools/system/nvidia-system-monitor-qt/default.nix index 8758b394693f..d7ef01f0c9cc 100644 --- a/pkgs/tools/system/nvidia-system-monitor-qt/default.nix +++ b/pkgs/tools/system/nvidia-system-monitor-qt/default.nix @@ -26,13 +26,13 @@ let in stdenv.mkDerivation rec { pname = "nvidia-system-monitor-qt"; - version = "1.6"; + version = "1.6-1"; src = fetchFromGitHub { owner = "congard"; repo = "nvidia-system-monitor-qt"; rev = "v${version}"; - sha256 = "sha256-Gvg7MgCqvfiEfGDQJSR1v5uAB99ZULAuGPGCce/K7HE="; + sha256 = "sha256-JHK7idyk5UxgDyt+SzvYjTLmlNzx6+Z+OPYsRD4NWPg="; }; buildInputs = [ qtbase ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2a9a047d7768..f8d9bdadc376 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7871,6 +7871,11 @@ with pkgs; inherit (llvmPackages) llvm libclang; }; + daggerfall-unity-unfree = daggerfall-unity.override { + pname = "daggerfall-unity-unfree"; + includeUnfree = true; + }; + dbt = with python3Packages; toPythonApplication dbt-core; devbox = callPackage ../development/tools/devbox { buildGoModule = buildGo123Module; }; @@ -18317,7 +18322,7 @@ with pkgs; }; weasis = callPackage ../by-name/we/weasis/package.nix { - jre = jdk21; + jre = jdk23; }; sieveshell = with python3.pkgs; toPythonApplication managesieve;