diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-02-16 08:57:06 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-03-11 08:37:08 +0000 |
commit | 223997454d380eb3d9a54145904c6ec0a0e8a0ca (patch) | |
tree | 0b0a2be0f6e8e6c49138b06ff6f7023e89272d41 /pkgs/tools/misc/mc | |
parent | f522cb505d557d1e0e2674e00ba0b79b1dbe11ee (diff) |
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
Diffstat (limited to 'pkgs/tools/misc/mc')
-rw-r--r-- | pkgs/tools/misc/mc/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/misc/mc/default.nix b/pkgs/tools/misc/mc/default.nix index 3b12175fb5671..c2425cf94cab3 100644 --- a/pkgs/tools/misc/mc/default.nix +++ b/pkgs/tools/misc/mc/default.nix @@ -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 \ |