Merge pull request #215272 from trofi/vifm-help

vifm: fix `:help` by pulling in `perl` to build depends
This commit is contained in:
7c6f434c 2023-02-10 05:03:12 +00:00 committed by GitHub
commit 8cef0411a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ stdenv, fetchurl, makeWrapper
, perl # used to generate help tags
, pkg-config
, ncurses, libX11
, util-linux, file, which, groff
@ -17,9 +18,14 @@ in stdenv.mkDerivation rec {
sha256 = "sha256-j+KBPr3Mz+ma7OArBdYqIJkVJdRrDM+67Dr2FMZlVog=";
};
nativeBuildInputs = [ pkg-config makeWrapper ];
nativeBuildInputs = [ perl pkg-config makeWrapper ];
buildInputs = [ ncurses libX11 util-linux file which groff ];
postPatch = ''
# Avoid '#!/usr/bin/env perl' reverences to build help.
patchShebangs --build src/helpztags
'';
postFixup = let
path = lib.makeBinPath
[ udisks2