diff options
author | Artturi <Artturin@artturin.com> | 2021-06-09 16:47:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 15:47:21 +0200 |
commit | b22ea7f5d10373f754f4acfc0b2595e1abea7224 (patch) | |
tree | a7adb772a57f9a76a9280ade1fd72d51059dec7c /pkgs/applications/networking/instant-messengers/discord/base.nix | |
parent | ac6f6020736e749941632565223c12b16871b40b (diff) |
discord: symlink Discord to discord to be consistent (#126254)
with distros such as arch
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord/base.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/base.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/base.nix b/pkgs/applications/networking/instant-messengers/discord/base.nix index 110d3ffb00ee7..a155737499e87 100644 --- a/pkgs/applications/networking/instant-messengers/discord/base.nix +++ b/pkgs/applications/networking/instant-messengers/discord/base.nix @@ -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/ |