From 59381153454f7c0b5f049693943d124599f3fb1e Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Mon, 16 Feb 2026 18:00:08 -0500 Subject: [PATCH] blink.cmp: don't use fake git --- flake/pkgs/by-name/blink-cmp/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flake/pkgs/by-name/blink-cmp/package.nix b/flake/pkgs/by-name/blink-cmp/package.nix index df55de22..7a7b01c6 100644 --- a/flake/pkgs/by-name/blink-cmp/package.nix +++ b/flake/pkgs/by-name/blink-cmp/package.nix @@ -4,7 +4,6 @@ rustPlatform, fetchFromGitHub, rust-jemalloc-sys, - writeShellScriptBin, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "blink-cmp"; @@ -22,6 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: { "info" ]; + # Tries to call git + preBuild = '' + rm build.rs + ''; + postInstall = '' cp -r {lua,plugin} "$out" @@ -44,10 +48,6 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-Qdt8O7IGj2HySb1jxsv3m33ZxJg96Ckw26oTEEyQjfs="; - nativeBuildInputs = [ - (writeShellScriptBin "git" "exit 1") - ]; - env = { RUSTC_BOOTSTRAP = true;