mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-02-23 20:12:00 +00:00
blink.cmp: don't use fake git
This commit is contained in:
parent
99bf160aae
commit
5938115345
1 changed files with 5 additions and 5 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
rust-jemalloc-sys,
|
rust-jemalloc-sys,
|
||||||
writeShellScriptBin,
|
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
pname = "blink-cmp";
|
pname = "blink-cmp";
|
||||||
|
|
@ -22,6 +21,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
"info"
|
"info"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Tries to call git
|
||||||
|
preBuild = ''
|
||||||
|
rm build.rs
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp -r {lua,plugin} "$out"
|
cp -r {lua,plugin} "$out"
|
||||||
|
|
||||||
|
|
@ -44,10 +48,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||||
|
|
||||||
cargoHash = "sha256-Qdt8O7IGj2HySb1jxsv3m33ZxJg96Ckw26oTEEyQjfs=";
|
cargoHash = "sha256-Qdt8O7IGj2HySb1jxsv3m33ZxJg96Ckw26oTEEyQjfs=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
(writeShellScriptBin "git" "exit 1")
|
|
||||||
];
|
|
||||||
|
|
||||||
env = {
|
env = {
|
||||||
RUSTC_BOOTSTRAP = true;
|
RUSTC_BOOTSTRAP = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue