From d9a85999d0cfa300d2c5ee6d0757a133d436fb95 Mon Sep 17 00:00:00 2001 From: Emil Karlson Date: Wed, 17 Nov 2021 10:15:24 +0200 Subject: 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. --- pkgs/applications/terminal-emulators/wezterm/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/applications/terminal-emulators') diff --git a/pkgs/applications/terminal-emulators/wezterm/default.nix b/pkgs/applications/terminal-emulators/wezterm/default.nix index 19e3a1c37e161..5b38354b1e97a 100644 --- a/pkgs/applications/terminal-emulators/wezterm/default.nix +++ b/pkgs/applications/terminal-emulators/wezterm/default.nix @@ -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 -- cgit 1.4.1 From b3c72ce7c67b388d4834ff6ae319d76136ac09b1 Mon Sep 17 00:00:00 2001 From: Emil Karlson Date: Fri, 19 Nov 2021 10:16:22 +0200 Subject: wezterm: Mark build broken for Darwin Linking fails on Darwin with ld: framework not found UserNotifications --- pkgs/applications/terminal-emulators/wezterm/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/applications/terminal-emulators') diff --git a/pkgs/applications/terminal-emulators/wezterm/default.nix b/pkgs/applications/terminal-emulators/wezterm/default.nix index 5b38354b1e97a..0483f5b753a20 100644 --- a/pkgs/applications/terminal-emulators/wezterm/default.nix +++ b/pkgs/applications/terminal-emulators/wezterm/default.nix @@ -103,5 +103,7 @@ rustPlatform.buildRustPackage rec { license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; platforms = platforms.unix; + # Fails on missing UserNotifications framework while linking + broken = stdenv.isDarwin; }; } -- cgit 1.4.1