wezterm: Add perl to deps for Darwin

Currently compile fails on Darwin on command
running "perl" "./Configure" "--prefix=/private/tmp/nix-build-wezterm-20210814-124438-54e29167.drv-0/source/target/aarch64-apple-darwin/release/build/openssl-sys-90b3c73e9c998931/out/openssl-build/install" "no-dso" "no-shared" "no-ssl3" "no-unit-test" "no-comp" "no-zlib" "no-zlib-dynamic" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "darwin64-arm64-cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC"
with
`Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }'
This commit fixes this issue.
This commit is contained in:
Emil Karlson 2021-11-17 10:15:24 +02:00
parent 5de36a0410
commit d9a85999d0

View file

@ -3,6 +3,7 @@
, lib
, fetchFromGitHub
, ncurses
, perl
, pkg-config
, python3
, fontconfig
@ -48,7 +49,7 @@ rustPlatform.buildRustPackage rec {
pkg-config
python3
ncurses # tic for terminfo
];
] ++ lib.optional stdenv.isDarwin perl;
buildInputs = [
fontconfig