* Checkinstall only works on Linux.

svn path=/nixpkgs/trunk/; revision=14740
This commit is contained in:
Eelco Dolstra 2009-03-27 14:25:00 +00:00
parent 5d27947703
commit b741451a17

View File

@ -1,5 +1,7 @@
{stdenv, fetchurl, gettext}: {stdenv, fetchurl, gettext}:
assert stdenv.isLinux;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "checkinstall-1.6.2pre20081116"; name = "checkinstall-1.6.2pre20081116";
@ -29,14 +31,12 @@ stdenv.mkDerivation {
''; '';
postInstall = postInstall =
if stdenv.isLinux then # Clear the RPATH, otherwise installwatch.so won't work properly
# Clear the RPATH, otherwise installwatch.so won't work properly # as an LD_PRELOADed library on applications that load against a
# as an LD_PRELOADed library on applications that load against a # different Glibc.
# different Glibc. ''
'' patchelf --set-rpath "" $out/lib/installwatch.so
patchelf --set-rpath "" $out/lib/installwatch.so '';
''
else "";
meta = { meta = {
homepage = http://checkinstall.izto.org/; homepage = http://checkinstall.izto.org/;