diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-09-21 20:49:37 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-09-21 20:49:37 +0200 |
commit | 52ad963b507c3f459d1c5894b3e015178f37fb7a (patch) | |
tree | d03d0b0b0ef62f40feb9f0cb2032982478a40cff /pkgs | |
parent | d7b8f68c05da04f6b3931d590b2d97e537963b76 (diff) | |
download | nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar.gz nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar.bz2 nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar.lz nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar.xz nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.tar.zst nixlib-52ad963b507c3f459d1c5894b3e015178f37fb7a.zip |
eiskaltdcpp: mark linux only
The darwin build fails and other platforms will probably run into similar issues. Determining if the Q_WS_QWS exist failed with the following output: Change Dir: /tmp/nix-build-eiskaltdcpp-2.2.10.drv-0/source/build/CMakeFiles/CMakeTmp Run Build Command:"/nix/store/qfag24z6xsr6jkyi8gb4cv62rp945rbk-gnumake-4.2.1/bin/make" "cmTC_14e67/fast" /nix/store/qfag24z6xsr6jkyi8gb4cv62rp945rbk-gnumake-4.2.1/bin/make -f CMakeFiles/cmTC_14e67.dir/build.make CMakeFiles/cmTC_14e67.dir/build make[1]: Entering directory '/private/tmp/nix-build-eiskaltdcpp-2.2.10.drv-0/source/build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_14e67.dir/CheckSymbolExists.cxx.o /nix/store/2gdwhdzhy4iwkp7fh8v6gy6nxj1zi9pv-clang-wrapper-5.0.2/bin/clang++ -I/nix/store/8dzqilmdr0p3qmmrxh51xk7wli6grm0i-qt-4.8.7/include -F/nix/store/8dzqilmdr0p3qmmrxh51xk7wli6grm0i-qt-4.8.7/lib -std=c++0x -pipe -Wformat -Werror=format-security -arch x86_64 -o CMakeFiles/cmTC_14e67.dir/CheckSymbolExists.cxx.o -c /tmp/nix-build-eiskaltdcpp-2.2.10.drv-0/source/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /tmp/nix-build-eiskaltdcpp-2.2.10.drv-0/source/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: use of undeclared identifier 'Q_WS_QWS' return ((int*)(&Q_WS_QWS))[argc]; ^ /cc ZHF #45961
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/p2p/eiskaltdcpp/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix index 48b2d883849b..db30da82bdb2 100644 --- a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix +++ b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, cmake, pkgconfig, qt4, boost, bzip2, libX11 -, fetchpatch, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }: +, fetchpatch, libiconv, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }: stdenv.mkDerivation rec { name = "eiskaltdcpp-${version}"; @@ -12,8 +12,9 @@ stdenv.mkDerivation rec { sha256 = "1mqz0g69njmlghcra3izarjxbxi1jrhiwn4ww94b8jv8xb9cv682"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ cmake qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ]; + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ qt4 boost bzip2 libX11 pcre-cpp libidn lua5 miniupnpc aspell gettext ] + ++ stdenv.lib.optional stdenv.isDarwin libiconv; patches = [ (fetchpatch { @@ -59,6 +60,6 @@ stdenv.mkDerivation rec { description = "A cross-platform program that uses the Direct Connect and ADC protocols"; homepage = https://github.com/eiskaltdcpp/eiskaltdcpp; license = licenses.gpl3Plus; - platforms = platforms.all; + platforms = platforms.linux; }; } |