diff --git a/pkgs/development/libraries/swiften/default.nix b/pkgs/development/libraries/swiften/default.nix index 09dd3eef7dbf..2325c043d014 100644 --- a/pkgs/development/libraries/swiften/default.nix +++ b/pkgs/development/libraries/swiften/default.nix @@ -1,7 +1,11 @@ { stdenv , lib , python +, libidn +, lua +, miniupnpc , expat +, zlib , fetchurl , fetchpatch , openssl @@ -37,7 +41,11 @@ stdenv.mkDerivation rec { buildInputs = [ python + libidn + lua + miniupnpc expat + zlib ]; propagatedBuildInputs = [ @@ -56,6 +64,11 @@ stdenv.mkDerivation rec { "swiften_dll=1" ]; + postPatch = '' + # Ensure bundled dependencies cannot be used. + rm -rf 3rdParty + ''; + installTargets = "${placeholder "out"}"; installFlags = [