diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index 73d8d9e53032a..449f825be0b67 100644 --- a/pkgs/top-level/static.nix +++ b/pkgs/top-level/static.nix @@ -93,6 +93,12 @@ in { gssSupport = false; }; + liblinear = super.liblinear.override { + # Don’t use new stdenv zlib because + # it doesn’t 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;