mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-24 01:21:11 +00:00
teamspeak_client: install to opt/ subdirectory
This is not a library. This actually matters somewhat because lib/ is installed into the system-wide path on NixOS for whatever reason.
This commit is contained in:
@@ -109,14 +109,14 @@ stdenv.mkDerivation rec {
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/teamspeak
|
||||
mv * $out/lib/teamspeak/
|
||||
mkdir -p $out/opt/teamspeak
|
||||
mv * $out/opt/teamspeak/
|
||||
|
||||
# Grab the desktop icon from the plugin sdk
|
||||
install ${pluginsdk}/doc/_static/logo.png -D $out/share/icons/hicolor/64x64/apps/teamspeak.png
|
||||
|
||||
mkdir -p $out/bin/
|
||||
ln -s $out/lib/teamspeak/ts3client $out/bin/ts3client
|
||||
ln -s $out/opt/teamspeak/ts3client $out/bin/ts3client
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user