From d176c4c33e4969121021d85114a2d07e784ab3d7 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 17 Dec 2024 17:13:47 +0100 Subject: [PATCH] build: downgrade Rust version used to build binaries This fixes the problem of VirusTotal reporting the binaries built with `nix build .#deltachat-rpc-server-win64` as malware. --- flake.lock | 7 ++++--- flake.nix | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index bf2051201a..61d10e0bbb 100644 --- a/flake.lock +++ b/flake.lock @@ -47,16 +47,17 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1731393059, - "narHash": "sha256-rmzi0GHEwpzg1LGfGPO4SRD7D6QGV3UYGQxkJvn+J5U=", + "lastModified": 1711088506, + "narHash": "sha256-USdlY7Tx2oJWqFBpp10+03+h7eVhpkQ4s9t1ERjeIJE=", "owner": "nix-community", "repo": "fenix", - "rev": "fda8d5b59bb0dc0021ad3ba1d722f9ef6d36e4d9", + "rev": "85f4139f3c092cf4afd9f9906d7ed218ef262c97", "type": "github" }, "original": { "owner": "nix-community", "repo": "fenix", + "rev": "85f4139f3c092cf4afd9f9906d7ed218ef262c97", "type": "github" } }, diff --git a/flake.nix b/flake.nix index f4b8ee4dbf..a92eda7008 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "Delta Chat core"; inputs = { - fenix.url = "github:nix-community/fenix"; + fenix.url = "github:nix-community/fenix?rev=85f4139f3c092cf4afd9f9906d7ed218ef262c97"; flake-utils.url = "github:numtide/flake-utils"; naersk.url = "github:nix-community/naersk"; nix-filter.url = "github:numtide/nix-filter";