fix: flake.nix build failure and deprecation warning (#7408)

Signed-off-by: BridgerB <git@bridgerb.com>
This commit is contained in:
BridgerB
2026-02-23 17:20:39 -07:00
committed by GitHub
parent e9cef3ebbb
commit 26b6d4d8bf
+1 -6
View File
@@ -37,18 +37,13 @@
++ pkgs.lib.optionals pkgs.stdenv.isDarwin darwinInputs;
in
{
defaultPackage = pkgs.rustPlatform.buildRustPackage {
packages.default = pkgs.rustPlatform.buildRustPackage {
pname = cargoToml.package.name;
version = workspaceToml.workspace.package.version;
src = self;
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
# Patch required for Windows cross-compilation
# See: https://github.com/nmathewson/crunchy/tree/cross-compilation-fix
"crunchy-0.2.3" = "sha256-CBW3/JuMoNa6MWia6BQo07LQrH5JQbb20vuCqhyFL0Y=";
};
};
nativeBuildInputs = with pkgs; [