pkgsLLVM.mc: explicitly set PERL= variable

Otherwise build fails as:
    mc-x86_64-unknown-linux-gnu> bash: ../../../src/man2hlp/man2hlp: /usr/bin/perl: bad interpreter: No such file or directory
This commit is contained in:
Sergei Trofimovich 2022-02-16 08:57:06 +00:00
parent f522cb505d
commit 223997454d

View File

@ -46,14 +46,13 @@ stdenv.mkDerivation rec {
libX11
libssh2
openssl
perl
slang
zip
] ++ lib.optionals (!stdenv.isDarwin) [ e2fsprogs gpm ];
enableParallelBuilding = true;
configureFlags = [ "--enable-vfs-smb" ];
configureFlags = [ "--enable-vfs-smb" "PERL=${perl}/bin/perl" ];
postPatch = ''
substituteInPlace src/filemanager/ext.c \