robin/ivy
my custom neovim config
git clone https://git.robinwobin.dev/robin/ivy
40578c2
main
1{ 2lib , 3tree-sitter , 4clang , 5libclang , 6rustPlatform , 7dependencies , 8 ... 9} : 10let 11cargoHash = "sha256-7nsDslE+7U6YUs1gsMNSqOI2D0yBPKZndnWHida3K6M=" ; 12in 13tree-sitter . overrideAttrs ( oa :{ 14src = dependencies . treesitter ; 15version = "bundled" ; 16inherit cargoHash ; 17cargoDeps = rustPlatform . fetchCargoVendor { 18name = " ${ oa . pname } -cargo-deps" ; 19src = dependencies . treesitter ; 20hash = cargoHash ; 21}; 22# Disable patches applied by the nixpkgs tree-sitter derivation as they clash with this revision of TS. 23# The equivalent patching is done below in `postPatch` 24patches = [ ]; 25 26# clang is needed by the quickjs-sys crate to compile quickjs 27nativeBuildInputs = [ 28clang 29] 30++ oa . nativeBuildInputs ; 31env . LIBCLANG_PATH = " ${ lib . getLib libclang } /lib" ; 32 33postPatch = '' 34${ oa . postPatch } 35sed -e 's/playground::serve(.*$/println!("ERROR: web-ui is not available in this nixpkgs build; enable the webUISupport"); std::process::exit(1);/' \ 36-i crates/cli/src/main.rs 37'' ; 38})