From ca250b2e9d44ee4f9fd4f04423d36a0c42b0c33d Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sat, 10 May 2025 00:24:50 +0200 Subject: [PATCH] slang: disable pcre module Both Debian [1] and Fedora [2] did this change a while ago. `pcre` 1.x is deprecated and should not be used. [1] https://salsa.debian.org/debian/slang2/-/commit/8d9223409e45b5aee65e7278635daa1fcc880429 [2] https://src.fedoraproject.org/rpms/slang/blob/rawhide/f/slang.spec#_124 --- pkgs/by-name/sl/slang/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/sl/slang/package.nix b/pkgs/by-name/sl/slang/package.nix index aa21473271cf..a72855654ceb 100644 --- a/pkgs/by-name/sl/slang/package.nix +++ b/pkgs/by-name/sl/slang/package.nix @@ -5,7 +5,6 @@ libiconv, libpng, ncurses, - pcre, readline, zlib, writeScript, @@ -36,7 +35,7 @@ stdenv.mkDerivation rec { ''; configureFlags = [ - "--with-pcre=${pcre.dev}" + "--without-pcre" "--with-png=${libpng.dev}" "--with-readline=${readline.dev}" "--with-z=${zlib.dev}" @@ -44,7 +43,6 @@ stdenv.mkDerivation rec { buildInputs = [ libpng - pcre readline zlib ] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [ libiconv ];