···317 };
318319 unit_system = mkOption {
320- type = types.nullOr (types.enum [ "metric" "imperial" ]);
321 default = null;
322 example = "metric";
323 description = ''
324- The unit system to use. This also sets temperature_unit, Celsius for Metric and Fahrenheit for Imperial.
325 '';
326 };
327
···317 };
318319 unit_system = mkOption {
320+ type = types.nullOr (types.enum [ "metric" "us_customary" ]);
321 default = null;
322 example = "metric";
323 description = ''
324+ The unit system to use. This also sets temperature_unit, Celsius for Metric and Fahrenheit for US Customary.
325 '';
326 };
327
+1-1
nixos/modules/system/boot/systemd/tmpfiles.nix
···322 description = "Create Volatile Files and Directories in the Real Root";
323 after = [ "initrd-fs.target" ];
324 before = [
325- "initrd-nixos-activation.service"
326 "shutdown.target" "initrd-switch-root.target"
327 ];
328 conflicts = [ "shutdown.target" "initrd-switch-root.target" ];
···322 description = "Create Volatile Files and Directories in the Real Root";
323 after = [ "initrd-fs.target" ];
324 before = [
325+ "initrd.target"
326 "shutdown.target" "initrd-switch-root.target"
327 ];
328 conflicts = [ "shutdown.target" "initrd-switch-root.target" ];
···458 # flag (declare_args) so we simply hardcode it to false.
459 ./patches/widevine-disable-auto-download-allow-bundle.patch
460 ]
461- ++ lib.optionals (versionRange "127" "128") [
462- # Fix missing chrome/browser/ui/webui_name_variants.h dependency
463- # and ninja 1.12 compat in M127.
464- # https://issues.chromium.org/issues/345645751
465- # https://issues.chromium.org/issues/40253918
466- # https://chromium-review.googlesource.com/c/chromium/src/+/5641516
467- (githubPatch {
468- commit = "2c101186b60ed50f2ba4feaa2e963bd841bcca47";
469- hash = "sha256-luu3ggo6XoeeECld1cKZ6Eh8x/qQYmmKI/ThEhuutuY=";
470- })
471- # https://chromium-review.googlesource.com/c/chromium/src/+/5644627
472- (githubPatch {
473- commit = "f2b43c18b8ecfc3ddc49c42c062d796c8b563984";
474- hash = "sha256-uxXxSsiS8R0827Oi3xsG2gtT0X+jJXziwZ1y8+7K+Qg=";
475- })
476- # https://chromium-review.googlesource.com/c/chromium/src/+/5646245
477- (githubPatch {
478- commit = "4ca70656fde83d2db6ed5a8ac9ec9e7443846924";
479- hash = "sha256-iQuRRZjDDtJfr+B7MV+TvUDDX3bvpCnv8OpSLJ1WqCE=";
480- })
481- # https://chromium-review.googlesource.com/c/chromium/src/+/5647662
482- (githubPatch {
483- commit = "50d63ffee3f7f1b1b9303363742ad8ebbfec31fa";
484- hash = "sha256-H+dv+lgXSdry3NkygpbCdTAWWdTVdKdVD3Aa62w091E=";
485- })
486- ]
487 ++ [
488 # Required to fix the build with a more recent wayland-protocols version
489 # (we currently package 1.26 in Nixpkgs while Chromium bundles 1.21):
···646 + ''
647 # Link to our own Node.js and Java (required during the build):
648 mkdir -p third_party/node/linux/node-linux-x64/bin
649- ln -s${lib.optionalString (chromiumVersionAtLeast "127") "f"} "${pkgsBuildHost.nodejs}/bin/node" third_party/node/linux/node-linux-x64/bin/node
650 ln -s "${pkgsBuildHost.jdk17_headless}/bin/java" third_party/jdk/current/bin/
651652 # Allow building against system libraries in official builds
···751 use_system_libffi = true;
752 # Use nixpkgs Rust compiler instead of the one shipped by Chromium.
753 rust_sysroot_absolute = "${buildPackages.rustc}";
754- }
755- // lib.optionalAttrs (chromiumVersionAtLeast "127") {
756 rust_bindgen_root = "${buildPackages.rust-bindgen}";
757 }
758 // {
···458 # flag (declare_args) so we simply hardcode it to false.
459 ./patches/widevine-disable-auto-download-allow-bundle.patch
460 ]
00000000000000000000000000461 ++ [
462 # Required to fix the build with a more recent wayland-protocols version
463 # (we currently package 1.26 in Nixpkgs while Chromium bundles 1.21):
···620 + ''
621 # Link to our own Node.js and Java (required during the build):
622 mkdir -p third_party/node/linux/node-linux-x64/bin
623+ ln -sf "${pkgsBuildHost.nodejs}/bin/node" third_party/node/linux/node-linux-x64/bin/node
624 ln -s "${pkgsBuildHost.jdk17_headless}/bin/java" third_party/jdk/current/bin/
625626 # Allow building against system libraries in official builds
···725 use_system_libffi = true;
726 # Use nixpkgs Rust compiler instead of the one shipped by Chromium.
727 rust_sysroot_absolute = "${buildPackages.rustc}";
00728 rust_bindgen_root = "${buildPackages.rust-bindgen}";
729 }
730 // {
···34}:
3536let
37- version = "1.45.0";
3839 rpath = lib.makeLibraryPath [
40 alsa-lib
···84 if stdenv.hostPlatform.system == "x86_64-linux" then
85 fetchurl {
86 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
87- hash = "sha256-p8EcsjAyzrwPfVgpmY5OlDYoikdblJDFKwtD0bCq0sA=";
88 }
89 else
90 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
···34}:
3536let
37+ version = "1.45.1";
3839 rpath = lib.makeLibraryPath [
40 alsa-lib
···84 if stdenv.hostPlatform.system == "x86_64-linux" then
85 fetchurl {
86 url = "https://downloads.mongodb.com/compass/mongodb-compass_${version}_amd64.deb";
87+ hash = "sha256-EEpP1M51Lyki4MJ3iMNpcxJbqPYl4bZGE3frax8kD0k=";
88 }
89 else
90 throw "MongoDB compass is not supported on ${stdenv.hostPlatform.system}";
+2-2
pkgs/by-name/or/orchard/package.nix
···78buildGoModule rec {
9 pname = "orchard";
10- version = "0.26.2";
1112 src = fetchFromGitHub {
13 owner = "cirruslabs";
14 repo = pname;
15 rev = version;
16- hash = "sha256-j072161KN/4VjHnxF6fqnVOoWhKlDTNzDZKzX2TK5Y0=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
···78buildGoModule rec {
9 pname = "orchard";
10+ version = "0.26.3";
1112 src = fetchFromGitHub {
13 owner = "cirruslabs";
14 repo = pname;
15 rev = version;
16+ hash = "sha256-jBsNJLHgeUn3Mw257shNzaCzl3YahZ2gGpneGMMyxfA=";
17 # populate values that require us to use git. By doing this in postFetch we
18 # can delete .git afterwards and maintain better reproducibility of the src.
19 leaveDotGit = true;
···17 # The websites yt-dlp deals with are a very moving target. That means that
18 # downloads break constantly. Because of that, updates should always be backported
19 # to the latest stable release.
20- version = "2025.1.12";
21 pyproject = true;
2223 src = fetchPypi {
24 inherit version;
25 pname = "yt_dlp";
26- hash = "sha256-jn4kbipaLP8KnBPbRoRKN6VHaAcCASBYyU7Bj84Molo=";
27 };
2829 build-system = with python3Packages; [
···17 # The websites yt-dlp deals with are a very moving target. That means that
18 # downloads break constantly. Because of that, updates should always be backported
19 # to the latest stable release.
20+ version = "2025.1.15";
21 pyproject = true;
2223 src = fetchPypi {
24 inherit version;
25 pname = "yt_dlp";
26+ hash = "sha256-6OxRXUm7YnBJFdE6Iu5v4DpWWNZR5OZFdOOhfuAfbjs=";
27 };
2829 build-system = with python3Packages; [
···1-#!/usr/bin/env nix-shell
2-#!nix-shell -i bash -p nix-prefetch curl jq
3-4-# Generates Gradle release specs from GitHub Releases.
5-#
6-# As of 2021-11, this script has very poor error handling,
7-# it is expected to be run by maintainers as one-off job
8-# only.
9-#
10-# NOTE: The earliest Gradle release that has a
11-# corresponding entry as GitHub Release is 6.8-rc-1.
12-13-for v in $(curl -s "https://api.github.com/repos/gradle/gradle/releases" | jq -r '.[].tag_name' | sort -n -r)
14-do
15- # Tag names and download filenames are not the same,
16- # we modify the tag name slightly to translate it
17- # to the naming scheme of download filenames.
18- # This translation assumes a tag naming scheme.
19- # As of 2021-11 it works from 6.8-rc-1 to 7.3-rc-3.
20-21- # Remove first letter (assumed to be "v").
22- v=${v:1}
23-24- # To lower case.
25- v=${v,,}
26-27- # Add dash after "rc".
28- v=${v/-rc/-rc-}
29-30- # Remove trailing ".0"
31- v=${v%.0}
32-33- # Remove trailing ".0" for release candidates.
34- v=${v/.0-rc/-rc}
35-36- f="gradle-${v}-spec.nix"
37-38- if [[ -n "$1" && "$1" != "$v" ]]
39- then
40- echo "$v SKIP (nomatch)"
41- continue
42- elif [ "$1" == "" ] && [ -f "$f" ]
43- then
44- echo "$v SKIP (exists)"
45- continue
46- fi
47-48- url="https://services.gradle.org/distributions/gradle-${v}-bin.zip"
49- read -d "\n" gradle_hash gradle_path < <(nix-prefetch-url --print-path $url)
50- gradle_hash=$(nix-hash --to-sri --type sha256 "$gradle_hash")
51-52- echo -e "{\\n version = \"$v\";\\n sha256 = \"$gradle_hash\";\\n}" > $f
53-54- echo "$v DONE"
55-done
···1---- a/chrome/test/BUILD.gn
2-+++ b/chrome/test/BUILD.gn
3-@@ -3114,13 +3114,6 @@ if (!is_android && !is_fuchsia) {
4- "//pdf/loader",
5- ]
6-7-- if (is_linux) {
8-- # Add a data dependency for pdf_extension_accessibility_test.cc to
9-- # notify testing builders that this test needs this library, which will
10-- # need to be downloaded from CIPD as defined in //DEPS.
11-- data_deps += [ "//third_party/screen-ai:screen_ai_linux" ]
12-- }
13--
14- if (enable_printing) {
15- sources += [ "../browser/pdf/pdf_extension_printing_test.cc" ]
16-