Merge pull request #285663 from mattpolzin/non-sixel-presenterm

presenterm: disable sixel for darwin to unbreak package
This commit is contained in:
Weijia Wang 2024-02-02 10:28:30 +01:00 committed by GitHub
commit 5b49642bad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
};
}