Merge pull request #158261 from mdavezac/nvim-tree-sitter-darwin

This commit is contained in:
Ben Siraphob 2022-03-17 16:26:14 -05:00 committed by GitHub
commit 6ff99f2a17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ let
(lib.strings.replaceStrings [ "-" ] [ "_" ]
(lib.strings.removePrefix "tree-sitter-"
(lib.strings.removeSuffix "-grammar" name)))
+ stdenv.hostPlatform.extensions.sharedLibrary;
+ ".so";
path = "${drv}/parser";
}
)