diff options
author | Naïm Favier <n@monade.li> | 2022-03-14 19:06:00 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-19 09:46:31 +0100 |
commit | 9160044f5f05d0a4ac46f1260beb8604c15ed4fa (patch) | |
tree | baed08f4b9da8509af8f1e126c054d13a0d69ef8 /pkgs/games/runelite | |
parent | 10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff) | |
download | nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.gz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.bz2 nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.lz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.xz nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.tar.zst nixpkgs-9160044f5f05d0a4ac46f1260beb8604c15ed4fa.zip |
treewide/makeWrapper: replace `--run cd` with `--chdir`
Lay the groundwork for switching to binary wrappers by reducing uses of `--run` (which is not supported by `makeBinaryWrapper`).
Diffstat (limited to 'pkgs/games/runelite')
-rw-r--r-- | pkgs/games/runelite/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/runelite/default.nix b/pkgs/games/runelite/default.nix index d342d543e2f..39ff9c137df 100644 --- a/pkgs/games/runelite/default.nix +++ b/pkgs/games/runelite/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { # RuneLite looks for `.so` files in $PWD/natives, so ensure that we set the PWD to the right place makeWrapper ${jre}/bin/java $out/bin/runelite \ - --run "cd $out" \ + --chdir "$out" \ --prefix LD_LIBRARY_PATH : "${xorg.libXxf86vm}/lib" \ --add-flags "-jar $out/share/runelite/RuneLite.jar" ''; |