diff --git a/pkgs/by-name/ye/yek/package.nix b/pkgs/by-name/ye/yek/package.nix index 6c23ee43b4f7..1f5ae2ee42a2 100644 --- a/pkgs/by-name/ye/yek/package.nix +++ b/pkgs/by-name/ye/yek/package.nix @@ -8,7 +8,7 @@ versionCheckHook, }: let - version = "0.16.0"; + version = "0.21.0"; in rustPlatform.buildRustPackage { pname = "yek"; @@ -18,10 +18,10 @@ rustPlatform.buildRustPackage { owner = "bodo-run"; repo = "yek"; tag = "v${version}"; - hash = "sha256-dboKZuY6mlFZu/xCoLXFJ4ARXyYs5/yOYeGkAnUKRX4="; + hash = "sha256-GAG5SCcxWL0JbngE2oOadVhOt2ppep6rIbYjIF2y3jI="; }; useFetchCargoVendor = true; - cargoHash = "sha256-/J+11PRCWn0rzq3nILJYd3V8cxmwDegArUDp8i5rsTY="; + cargoHash = "sha256-uShKrH4fdLDJX4ZX0TWXCyFctEH0C98B/STY9j6aH8A="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl ]; @@ -43,6 +43,11 @@ rustPlatform.buildRustPackage { doInstallCheck = true; passthru.updateScript = nix-update-script { }; + # error: linker `aarch64-linux-gnu-gcc` not found + postPatch = '' + rm .cargo/config.toml + ''; + meta = { description = "Serialize text files for LLM consumption"; longDescription = ''