copy-com: remove deprecated Nix-specific alias

This commit is contained in:
Tobias Geerinckx-Rice 2016-01-16 04:56:08 +01:00
parent 8f793ce6bb
commit 4a860b8fbf

View File

@ -44,25 +44,19 @@ in stdenv.mkDerivation {
patchelf --set-interpreter ${stdenv.glibc}/lib/${interpreter} "$binary" patchelf --set-interpreter ${stdenv.glibc}/lib/${interpreter} "$binary"
done done
# Older versions of this package happily installed broken copies of
# anything other than CopyConsole - which was then also mangled to
# copy_console for some reason. Keep backwards compatibility (only
# for CopyConsole) for now; the NixOS service is already fixed.
ln -sv "$out/bin"/{CopyConsole,copy_console}
RPATH=${libPaths}:$out/${appdir} RPATH=${libPaths}:$out/${appdir}
echo "Updating rpaths to $RPATH in:" echo "Updating rpaths to $RPATH in:"
find "$out/${appdir}" -type f -a -perm -0100 \ find "$out/${appdir}" -type f -a -perm -0100 \
-print -exec patchelf --force-rpath --set-rpath "$RPATH" {} \; -print -exec patchelf --force-rpath --set-rpath "$RPATH" {} \;
''; '';
meta = { meta = with stdenv.lib; {
homepage = http://copy.com; homepage = http://copy.com;
description = "Copy.com graphical & command-line clients"; description = "Copy.com graphical & command-line clients";
# Closed Source unfortunately. # Closed Source unfortunately.
license = stdenv.lib.licenses.unfree; license = licenses.unfree;
maintainers = with stdenv.lib.maintainers; [ nathan-gs nckx ]; maintainers = with maintainers; [ nathan-gs nckx ];
# NOTE: Copy.com itself only works on linux, so this is ok. # NOTE: Copy.com itself only works on linux, so this is ok.
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }