steamPackages.steam-chrootenv: install desktop file
This commit is contained in:
parent
f4bbd5b024
commit
fc6a5f746b
@ -1,4 +1,4 @@
|
||||
{ lib, buildFHSUserEnv
|
||||
{ lib, buildFHSUserEnv, steam
|
||||
, withJava ? false
|
||||
, withPrimus ? false
|
||||
}:
|
||||
@ -48,6 +48,13 @@ buildFHSUserEnv {
|
||||
ln -s ../lib32/steam-runtime steamrt/i386
|
||||
'';
|
||||
|
||||
extraInstallCommands = ''
|
||||
mkdir -p $out/share/applications
|
||||
ln -s ${steam}/share/icons $out/share
|
||||
ln -s ${steam}/share/pixmaps $out/share
|
||||
sed "s,/usr/bin/steam,$out/bin/steam,g" ${steam}/share/applications/steam.desktop > $out/share/applications/steam.desktop
|
||||
'';
|
||||
|
||||
profile = ''
|
||||
export STEAM_RUNTIME=/steamrt
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user