From 24a088d94c0a6ad87eb0fecebf2db69ffa569c1d Mon Sep 17 00:00:00 2001 From: Smitty Date: Tue, 5 Mar 2024 23:54:16 -0500 Subject: [PATCH] shell.nix: update filterlock hash (#31515) Signed-off-by: syvb --- etc/shell.nix | 2 +- support/filterlock/Cargo.toml | 2 ++ support/filterlock/src/main.rs | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/shell.nix b/etc/shell.nix index 286af5115d5..788aad42537 100644 --- a/etc/shell.nix +++ b/etc/shell.nix @@ -96,7 +96,7 @@ stdenv.mkDerivation (androidEnvironment // rec { (let vendorTarball = rustPlatform.fetchCargoTarball { src = ../support/filterlock; - hash = "sha256-/kJNDtmv2uI7Qlmpi3DMWSw88rzEJSbroO0/QrgQrSc="; + hash = "sha256-EBrL0/cEJfGIXUYqFiufRYFBAk5LSf0Cd/19+9m9JZI="; }; vendorConfig = builtins.toFile "toml" '' [source.crates-io] diff --git a/support/filterlock/Cargo.toml b/support/filterlock/Cargo.toml index 8db32605755..72fe6e9f985 100644 --- a/support/filterlock/Cargo.toml +++ b/support/filterlock/Cargo.toml @@ -1,3 +1,5 @@ +# NOTE: The hash for the `vendorTarball` in etc/shell.nix should be +# regenerated when this file is changed. [workspace] [package] diff --git a/support/filterlock/src/main.rs b/support/filterlock/src/main.rs index 5788987f0c1..e012dcde037 100644 --- a/support/filterlock/src/main.rs +++ b/support/filterlock/src/main.rs @@ -2,6 +2,9 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +// NOTE: The hash for the `vendorTarball` in etc/shell.nix should be +// regenerated when this file is changed. + //! Filter the given lockfile to only the given package and its dependencies. //! //! Usage: `filterlock `