From 573edbf405c369e9d9c8860b8b4abe7d87d1cb3d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 8 Jan 2022 15:32:30 +0100 Subject: [PATCH] swiften: use dependencies from nix --- pkgs/development/libraries/swiften/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 = [