From e89f61f917a046375990f56a5f6a713314dd8098 Mon Sep 17 00:00:00 2001 From: Matt Polzin Date: Thu, 1 Feb 2024 14:53:34 -0800 Subject: [PATCH] presenterm: disable sixel for darwin to unbreak package. --- pkgs/by-name/pr/presenterm/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/pr/presenterm/package.nix b/pkgs/by-name/pr/presenterm/package.nix index 37ba6f817d30..f637a77b4ff0 100644 --- a/pkgs/by-name/pr/presenterm/package.nix +++ b/pkgs/by-name/pr/presenterm/package.nix @@ -24,7 +24,9 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-bufFiyqRsn4eG57bKn42p5cyX+Z7oiz/USZvg9YOvHA="; - buildFeatures = [ "sixel" ]; + # Crashes at runtime on darwin with: + # Library not loaded: .../out/lib/libsixel.1.dylib + buildFeatures = lib.optionals (!stdenv.isDarwin) [ "sixel" ]; # Skip test that currently doesn't work checkFlags = [ "--skip=execute::test::shell_code_execution" ]; @@ -41,8 +43,5 @@ rustPlatform.buildRustPackage rec { license = licenses.bsd2; maintainers = with maintainers; [ mikaelfangel ]; mainProgram = "presenterm"; - # Crashes at runtime on darwin with: - # Library not loaded: .../out/lib/libsixel.1.dylib - broken = stdenv.isDarwin; }; }