mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
Revert "less: Fix withSecure regression" (#353629)
This commit is contained in:
commit
2f45b7ffd7
@ -1,8 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
autoreconfHook,
|
||||
ncurses,
|
||||
pcre2,
|
||||
stdenv,
|
||||
@ -24,23 +22,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-KBn1VWTYbVQqu+yv2C/2HoGaPuyWf6o2zT5o8VlqRLg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Fix configure parameters --with-secure=no and --without-secure.
|
||||
url = "https://github.com/gwsw/less/commit/8fff6c56bfc833528b31ebdaee871f65fbe342b1.patch";
|
||||
hash = "sha256-XV5XufivNWWLGeIpaP04YQPWcxIUKYYEINdT+eEx+WA=";
|
||||
includes = [
|
||||
"configure.ac"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
# Need `autoreconfHook` since we patch `configure.ac`.
|
||||
# TODO: Remove the `configure.ac` patch and `autoreconfHook` next release
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ncurses
|
||||
pcre2
|
||||
|
Loading…
Reference in New Issue
Block a user