about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-12-20 15:33:07 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-12-20 22:38:18 -0800
commitab91cd998f9b1ee17ffed5b558e86b59f6db178e (patch)
treebfc29ced3a4e0f1fde54411cca9bb63b59f573db /pkgs/games
parent473ec944a100998cb557ca3c942212816760ba06 (diff)
downloadnixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar.gz
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar.bz2
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar.lz
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar.xz
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.tar.zst
nixlib-ab91cd998f9b1ee17ffed5b558e86b59f6db178e.zip
steam: fix desktop link
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/steam/fhsenv.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix
index e15532443ba6..512e96192423 100644
--- a/pkgs/games/steam/fhsenv.nix
+++ b/pkgs/games/steam/fhsenv.nix
@@ -229,7 +229,7 @@ in buildFHSUserEnv rec {
     mkdir -p $out/share/applications
     ln -s ${steam}/share/icons $out/share
     ln -s ${steam}/share/pixmaps $out/share
-    sed "s,/usr/bin/steam,steam,g" ${steam}/share/applications/steam.desktop > $out/share/applications/steam.desktop
+    ln -s ${steam}/share/applications/steam.desktop $out/share/applications/steam.desktop
   '';
 
   profile = ''