liblinear: fix static build

This commit is contained in:
Enno Richter 2021-09-06 07:11:31 +02:00
parent 9fcf2a8a2c
commit d06f8fcc39

View File

@ -93,6 +93,12 @@ in {
gssSupport = false;
};
liblinear = super.liblinear.override {
# Dont use new stdenv zlib because
# it doesnt like the --disable-shared flag
stdenv = super.stdenv;
};
ocaml-ng = self.lib.mapAttrs (_: set:
if set ? overrideScope' then set.overrideScope' ocamlStaticAdapter else set
) super.ocaml-ng;