chessx: install chessx.desktop file

This commit is contained in:
Luis Pedro Coelho 2016-03-23 20:30:24 +01:00
parent b336ed89e6
commit 6607345d10

View file

@ -22,7 +22,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
installPhase = '' installPhase = ''
mkdir -p "$out/bin" mkdir -p "$out/bin"
mkdir -p "$out/share/applications"
cp -pr release/chessx "$out/bin" cp -pr release/chessx "$out/bin"
cp -pr unix/chessx.desktop "$out/share/applications"
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {