From 074ada05811f3e1e8c55a164cd7b6506fa3841ae Mon Sep 17 00:00:00 2001 From: Jonathan Knapp Date: Sat, 11 Jul 2026 10:43:10 -0400 Subject: [PATCH 1/2] Fix nix flake support for skia-bindings 0.99.0 --- flake.lock | 18 +++++++++--------- flake.nix | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 5328978a..102eb3ef 100644 --- a/flake.lock +++ b/flake.lock @@ -83,37 +83,37 @@ "skia-binaries-aarch64-darwin": { "flake": false, "locked": { - "narHash": "sha256-8k2f0muEP5p8RNDSMxVZ3r+LPeufeRvYCC0ZvWg08VY=", + "narHash": "sha256-5bZ+FmMwnLwgl10GP5Oapx+uXNGx7a41W6eLiKkvacc=", "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-apple-darwin-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-apple-darwin-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" }, "original": { "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-apple-darwin-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-apple-darwin-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" } }, "skia-binaries-aarch64-linux": { "flake": false, "locked": { - "narHash": "sha256-d6Bcvz8+jRWneN1CKHZ9/630+OHkafGY/kec/uf3hBk=", + "narHash": "sha256-tXfDNCfFckRE3XT64+w/5JMKy0cwklAIRMLcCUc0IYU=", "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" }, "original": { "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" } }, "skia-binaries-x86_64-linux": { "flake": false, "locked": { - "narHash": "sha256-4x3zKy0SbnKHPl9T4for1hObYKuVKN2T83+AIh6HQZs=", + "narHash": "sha256-eUb2aJV5bp4gffHKjqBPyjVQF4iyrlg4RWzv2Ny5TVE=", "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-x86_64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-x86_64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" }, "original": { "type": "file", - "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-x86_64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz" + "url": "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-x86_64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz" } }, "systems": { diff --git a/flake.nix b/flake.nix index d1453fc6..f3619f06 100644 --- a/flake.nix +++ b/flake.nix @@ -12,22 +12,22 @@ # # To update after a skia-bindings bump: # 1. Find the new version tag at https://github.com/rust-skia/skia-binaries/releases that matches the skia-bindings version in Cargo.lock. - # 2. Update the version (e.g. 0.90.0) and binary hash in each URL below. + # 2. Update the version (e.g. 0.99.0) and binary hash in each URL below. # The hash component in the filename corresponds to the crate source hash and changes with each skia-bindings release. # 3. Run `nix flake update` to re-fetch and update the locks. skia-binaries-x86_64-linux = { type = "file"; - url = "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-x86_64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz"; + url = "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-x86_64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz"; flake = false; }; skia-binaries-aarch64-linux = { type = "file"; - url = "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-unknown-linux-gnu-gl-pdf-textlayout-vulkan.tar.gz"; + url = "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-unknown-linux-gnu-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz"; flake = false; }; skia-binaries-aarch64-darwin = { type = "file"; - url = "https://github.com/rust-skia/skia-binaries/releases/download/0.90.0/skia-binaries-da4579b39b75fa2187c5-aarch64-apple-darwin-gl-pdf-textlayout-vulkan.tar.gz"; + url = "https://github.com/rust-skia/skia-binaries/releases/download/0.99.0/skia-binaries-a25a0fdb7d90429aa2d1-aarch64-apple-darwin-gl-jpegd-jpege-pdf-textlayout-vulkan.tar.gz"; flake = false; }; }; From e562f482cb3f90a5f1707ffaa5cd2bb8b214e009 Mon Sep 17 00:00:00 2001 From: Jonathan Knapp Date: Sat, 11 Jul 2026 10:43:51 -0400 Subject: [PATCH 2/2] nix flake update --- flake.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/flake.lock b/flake.lock index 102eb3ef..2412574f 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "crane": { "locked": { - "lastModified": 1775236976, - "narHash": "sha256-gCgX+AXN7K1gAIEqcLcZHxmC+QoZcwn9m6Z9r2Az+N8=", + "lastModified": 1783203018, + "narHash": "sha256-G6R9IT/xwFuu+CYBWDUAok6AdC4ERC4ZfPPFtEpxnZE=", "owner": "ipetkov", "repo": "crane", - "rev": "6c23998526351a53ce734f0ac84940da988ccef1", + "rev": "80db5bdc391be8a1794f6d8a2d56e3a84ebcede2", "type": "github" }, "original": { @@ -35,11 +35,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1775423009, - "narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=", + "lastModified": 1783522502, + "narHash": "sha256-iffAls3iaNTyJC2faYcUXSI+Gp02cDjYl+MygxKl2GI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9", + "rev": "0bb7ec54c8483066ec9d7720e780a5caa71f8612", "type": "github" }, "original": { @@ -67,11 +67,11 @@ ] }, "locked": { - "lastModified": 1775617983, - "narHash": "sha256-2NWGA/I4j/qlx6qbg86QvJiK1/GyH9gnf0hFiARWVwE=", + "lastModified": 1783747106, + "narHash": "sha256-KlepQu/O5m11lAjcJ4ER5bc6bIzyX2UMPDARzMzQfIw=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "d98b91b1feae7ef07fa2ccb3aa3f83f11abfae54", + "rev": "e598b37857b895b81020a65a802ef55f5bbed72f", "type": "github" }, "original": {