diff --git a/pkgs/by-name/le/less/package.nix b/pkgs/by-name/le/less/package.nix index f7791a2636eb..326e4e2df017 100644 --- a/pkgs/by-name/le/less/package.nix +++ b/pkgs/by-name/le/less/package.nix @@ -4,6 +4,7 @@ , fetchpatch , ncurses , pcre2 +, withSecure ? false }: stdenv.mkDerivation (finalAttrs: { @@ -37,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { # Look for 'sysless' in /etc. "--sysconfdir=/etc" "--with-regex=pcre2" - ]; + ] ++ lib.optional withSecure "--with-secure"; meta = { homepage = "https://www.greenwoodsoftware.com/less/";