about summary refs log tree commit diff
path: root/pkgs/games/prismlauncher
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-05-04 17:23:31 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2023-05-20 09:55:42 +0200
commitfa7b31cf86937f9be2eccf41265c947a35213554 (patch)
tree004725c5215cac250bb9920679fa1f111aa87321 /pkgs/games/prismlauncher
parent97516c60341ddf1f753cb6f7a5ae8427d59b1aa2 (diff)
prismlauncher: simplify postUnpack
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'pkgs/games/prismlauncher')
-rw-r--r--pkgs/games/prismlauncher/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix
index 58d4e4adfa81b..2761ab22f907e 100644
--- a/pkgs/games/prismlauncher/default.nix
+++ b/pkgs/games/prismlauncher/default.nix
@@ -47,10 +47,7 @@ stdenv.mkDerivation rec {
 
   postUnpack = ''
     rm -rf source/libraries/libnbtplusplus
-    mkdir source/libraries/libnbtplusplus
-    ln -s ${libnbtplusplus}/* source/libraries/libnbtplusplus
-    chmod -R +r+w source/libraries/libnbtplusplus
-    chown -R $USER: source/libraries/libnbtplusplus
+    ln -s ${libnbtplusplus} source/libraries/libnbtplusplus
   '';
 
   dontWrapQtApps = true;