1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

Merge pull request #136849 from elohmeier/liblinear-static

liblinear: fix static build
This commit is contained in:
Jörg Thalheim 2021-09-07 03:16:00 +01:00 committed by GitHub
commit 26c10279a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;