discord: symlink Discord to discord to be consistent
with distros such as arch (cherry picked from commit f0adbd1d9f71473fd21b245b867c3235a3b2846a)
This commit is contained in:
parent
c41fdc54ac
commit
6a1885ca6d
|
@ -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 New Issue