boinc: fix it; the binaries didn't start.
This commit is contained in:
parent
8de96cb04d
commit
430957b020
@ -1,6 +1,6 @@
|
|||||||
{ fetchgit, stdenv, autoconf, automake, pkgconfig, m4, curl,
|
{ fetchgit, stdenv, autoconf, automake, pkgconfig, m4, curl,
|
||||||
mesa, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK,
|
mesa, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK, xcbutil,
|
||||||
sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11 }:
|
sqlite, gtk, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "boinc-7.0.44";
|
name = "boinc-7.0.44";
|
||||||
@ -12,7 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
|
buildInputs = [ libtool automake autoconf m4 pkgconfig curl mesa libXmu libXi
|
||||||
freeglut libjpeg wxGTK sqlite gtk libXScrnSaver libnotify patchelf libX11 ];
|
freeglut libjpeg wxGTK sqlite gtk libXScrnSaver libnotify patchelf libX11
|
||||||
|
libxcb xcbutil
|
||||||
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
sed -i -e s,/etc,$out/etc, client/scripts/Makefile
|
sed -i -e s,/etc,$out/etc, client/scripts/Makefile
|
||||||
@ -27,17 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
configureFlags = "--disable-server --disable-fast-install";
|
configureFlags = "--disable-server";
|
||||||
|
|
||||||
postInstall = "
|
|
||||||
# Remove a leading rpath to /tmp/... I don't know how it got there
|
|
||||||
# I could not manage to get rid of that through autotools.
|
|
||||||
for a in $out/bin/*; do
|
|
||||||
RPATH=$(patchelf --print-rpath $a)
|
|
||||||
NEWRPATH=$(echo $RPATH | sed 's/^[^:]*://')
|
|
||||||
patchelf --set-rpath $out/lib:$NEWRPATH $a
|
|
||||||
done
|
|
||||||
";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Free software for distributed and grid computing";
|
description = "Free software for distributed and grid computing";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user