diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2021-09-07 03:16:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-07 03:16:00 +0100 |
commit | 26c10279a11470331335bfa11efd1c3b00bc54c0 (patch) | |
tree | 184eb3d3361c2db258a63e2fcc6b9efcc7b1faa5 | |
parent | 02c9b30a53aa799e01c16832ba21fe6f510402bd (diff) | |
parent | d06f8fcc394cd8363c6cd2423d3fed9f6e297845 (diff) | |
download | nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar.gz nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar.bz2 nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar.lz nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar.xz nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.tar.zst nixpkgs-26c10279a11470331335bfa11efd1c3b00bc54c0.zip |
Merge pull request #136849 from elohmeier/liblinear-static
liblinear: fix static build
-rw-r--r-- | pkgs/top-level/static.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/top-level/static.nix b/pkgs/top-level/static.nix index 73d8d9e5303..449f825be0b 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; |