summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-09-07 03:16:00 +0100
committerGitHub <noreply@github.com>2021-09-07 03:16:00 +0100
commit26c10279a11470331335bfa11efd1c3b00bc54c0 (patch)
tree184eb3d3361c2db258a63e2fcc6b9efcc7b1faa5
parent02c9b30a53aa799e01c16832ba21fe6f510402bd (diff)
parentd06f8fcc394cd8363c6cd2423d3fed9f6e297845 (diff)
downloadnixpkgs-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.nix6
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;