Merge #205230: transmission: fix build on aarch64-darwin

This commit is contained in:
Vladimír Čunát 2022-12-10 15:53:22 +01:00
commit 65a31bffd8
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -16,6 +16,7 @@
, miniupnpc , miniupnpc
, dht , dht
, libnatpmp , libnatpmp
, libiconv
# Build options # Build options
, enableGTK3 ? false , enableGTK3 ? false
, gtk3 , gtk3
@ -93,7 +94,7 @@ in stdenv.mkDerivation {
++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ] ++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ]
++ lib.optionals enableSystemd [ systemd ] ++ lib.optionals enableSystemd [ systemd ]
++ lib.optionals stdenv.isLinux [ inotify-tools ] ++ lib.optionals stdenv.isLinux [ inotify-tools ]
; ++ lib.optionals stdenv.isDarwin [ libiconv ];
postInstall = '' postInstall = ''
mkdir $apparmor mkdir $apparmor