From 71ac6916be53042fbc2b483568f25b3b4f8a7093 Mon Sep 17 00:00:00 2001 From: Gio d'Amelio Date: Tue, 8 Aug 2023 22:28:49 +0000 Subject: [PATCH] Use the vendored cargo packages instead of letting buildRustPackage download them --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index da99e8d0..3d0c5d45 100644 --- a/flake.nix +++ b/flake.nix @@ -35,8 +35,8 @@ pkgs.rustPlatform.buildRustPackage { pname = manifest.name; version = manifest.version; - cargoLock.lockFile = ./Cargo.lock; src = pkgs.lib.cleanSource ./.; + cargoVendorDir = "vendor"; # Install the manpage postBuild = ''