tree-sitter: make shared/static libraries configurable

This commit is contained in:
Nick Hu
2020-11-09 18:41:20 +00:00
parent 562eaafd36
commit aea7f1b540
2 changed files with 10 additions and 2 deletions
+5
View File
@@ -286,6 +286,11 @@ in {
libexecinfo = super.libexecinfo.override { enableShared = false; };
tree-sitter = super.tree-sitter.override {
enableShared = false;
enableStatic = true;
};
xorg = super.xorg.overrideScope' (xorgself: xorgsuper: {
libX11 = xorgsuper.libX11.overrideAttrs (attrs: {
depsBuildBuild = attrs.depsBuildBuild ++ [ (self.buildPackages.stdenv.cc.libc.static or null) ];