fix: flake.nix build failure and deprecation warning (#7408)
Some checks failed
Canary / Prepare Version (push) Waiting to run
Canary / build-cli (push) Blocked by required conditions
Canary / Upload Install Script (push) Blocked by required conditions
Canary / bundle-desktop (push) Blocked by required conditions
Canary / bundle-desktop-linux (push) Blocked by required conditions
Canary / bundle-desktop-windows (push) Blocked by required conditions
Canary / Release (push) Blocked by required conditions
CI / changes (push) Waiting to run
CI / Check Rust Code Format (push) Blocked by required conditions
CI / Build and Test Rust Project (push) Blocked by required conditions
CI / Lint Rust Code (push) Blocked by required conditions
CI / Check OpenAPI Schema is Up-to-Date (push) Blocked by required conditions
CI / Test and Lint Electron Desktop App (push) Blocked by required conditions
Deploy Documentation / deploy (push) Waiting to run
Live Provider Tests / check-fork (push) Waiting to run
Live Provider Tests / changes (push) Blocked by required conditions
Live Provider Tests / Build Binary (push) Blocked by required conditions
Live Provider Tests / Smoke Tests (push) Blocked by required conditions
Live Provider Tests / Smoke Tests (Code Execution) (push) Blocked by required conditions
Live Provider Tests / Compaction Tests (push) Blocked by required conditions
Live Provider Tests / goose server HTTP integration tests (push) Blocked by required conditions
Publish Ask AI Bot Docker Image / docker (push) Waiting to run
Publish Docker Image / docker (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Cargo Deny / deny (push) Has been cancelled

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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; [