git.iko.soy/typeable/nixpkgs
on master help sign in
swiften: fix build
8ea42e7Orivej Desh
pkgs/development/libraries/swiften/default.nix+4−1
@@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
12 sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
12 sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
13 };
13 };
14
14
15+ patches = [ ./scons.patch ];
16+
15 sconsFlags = [
17 sconsFlags = [
16 "openssl=${openssl.dev}"
18 "openssl=${openssl.dev}"
17 "boost_includedir=${boost.dev}/include"
19 "boost_includedir=${boost.dev}/include"
@@ -23,12 +25,13 @@ stdenv.mkDerivation rec {
23 installFlags+=" SWIFT_INSTALLDIR=$out"
25 installFlags+=" SWIFT_INSTALLDIR=$out"
24 '';
26 '';
25
27
28+ enableParallelBuilding = true;
29+
26 meta = with stdenv.lib; {
30 meta = with stdenv.lib; {
27 description = "An XMPP library for C++, used by the Swift client";
31 description = "An XMPP library for C++, used by the Swift client";
28 homepage = http://swift.im/swiften.html;
32 homepage = http://swift.im/swiften.html;
29 license = licenses.gpl2Plus;
33 license = licenses.gpl2Plus;
30 platforms = platforms.linux;
34 platforms = platforms.linux;
31 maintainers = [ maintainers.twey ];
35 maintainers = [ maintainers.twey ];
32− broken = true; # TODO: Build is failing!
33 };
36 };
34}
37}
pkgs/development/libraries/swiften/scons.patchnew file+9
@@ -0,0 +1,9 @@
1+--- a/BuildTools/SCons/SConscript.boot
2++++ b/BuildTools/SCons/SConscript.boot
3+@@ -129,5 +129 @@ vars.Add(PathVariable("sparkle_public_dsa_key", "Optional path to a public DSA k
4+-env_ENV = {
5+- 'PATH' : os.environ['PATH'],
6+- 'LD_LIBRARY_PATH' : os.environ.get("LD_LIBRARY_PATH", ""),
7+- 'TERM' : os.environ.get("TERM", ""),
8+-}
9++env_ENV = os.environ