discord: symlink Discord to discord to be consistent (#126254)
with distros such as arch
This commit is contained in:
parent
ac6f602073
commit
b22ea7f5d1
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ in stdenv.mkDerivation rec {
|
|||
--prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName}
|
||||
|
||||
ln -s $out/opt/${binaryName}/${binaryName} $out/bin/
|
||||
# Without || true the install would fail on case-insensitive filesystems
|
||||
ln -s $out/opt/${binaryName}/${binaryName} $out/bin/${lib.strings.toLower binaryName} || true
|
||||
ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png
|
||||
|
||||
ln -s "${desktopItem}/share/applications" $out/share/
|
||||
|
|
Loading…
Reference in a new issue