File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
pkgs/applications/networking/p2p/transmission Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ stdenv.mkDerivation (finalAttrs: {
113113 cmake/FindUtfCpp.cmake
114114 # Upstream uses different config file name.
115115 substituteInPlace CMakeLists.txt --replace 'find_package(UtfCpp)' 'find_package(utf8cpp)'
116+
117+ # Use gettext even on Darwin
118+ substituteInPlace libtransmission/utils.h \
119+ --replace-fail '#if defined(HAVE_GETTEXT) && !defined(__APPLE__)' '#if defined(HAVE_GETTEXT)'
116120 '' ;
117121
118122 nativeBuildInputs = [
@@ -145,8 +149,7 @@ stdenv.mkDerivation (finalAttrs: {
145149 ++ optionals enableQt6 ( with qt6Packages ; [ qttools qtbase qtsvg ] )
146150 ++ optionals enableGTK3 [ gtkmm3 xorg . libpthreadstubs ]
147151 ++ optionals enableSystemd [ systemd ]
148- ++ optionals stdenv . hostPlatform . isLinux [ inotify-tools ]
149- ++ optionals stdenv . hostPlatform . isDarwin [ libiconv Foundation ] ;
152+ ++ optionals stdenv . hostPlatform . isLinux [ inotify-tools ] ;
150153
151154 postInstall = ''
152155 mkdir $apparmor
You can’t perform that action at this time.
0 commit comments