xarchiver: enable on darwin (#413440)

This commit is contained in:
Aleksana 2025-06-09 15:52:55 +08:00 committed by GitHub
commit 143d71f8ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@
gzip, gzip,
lhasa, lhasa,
wrapGAppsHook3, wrapGAppsHook3,
desktopToDarwinBundle,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -37,7 +38,8 @@ stdenv.mkDerivation rec {
makeWrapper makeWrapper
pkg-config pkg-config
wrapGAppsHook3 wrapGAppsHook3
]; ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ desktopToDarwinBundle ];
buildInputs = [ buildInputs = [
gtk3 gtk3
bash # so patchShebangs can patch #!/bin/sh in xarchiver.tap bash # so patchShebangs can patch #!/bin/sh in xarchiver.tap
@ -63,7 +65,6 @@ stdenv.mkDerivation rec {
strictDeps = true; strictDeps = true;
meta = { meta = {
broken = stdenv.hostPlatform.isDarwin;
description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)"; description = "GTK frontend to 7z,zip,rar,tar,bzip2, gzip,arj, lha, rpm and deb (open and extract only)";
homepage = "https://github.com/ib/xarchiver"; homepage = "https://github.com/ib/xarchiver";
maintainers = [ lib.maintainers.domenkozar ]; maintainers = [ lib.maintainers.domenkozar ];