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/domination | |
parent | 10479e4f51ff182651ccff4a71b2a94ab93816c0 (diff) |
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/domination')
-rw-r--r-- | pkgs/games/domination/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/domination/default.nix b/pkgs/games/domination/default.nix index b7eae5e5acd6..8ef45b850198 100644 --- a/pkgs/games/domination/default.nix +++ b/pkgs/games/domination/default.nix @@ -63,10 +63,10 @@ in stdenv.mkDerivation { # Reimplement the two launchers mentioned in Unix_shortcutSpec.xml with makeWrapper mkdir -p $out/bin makeWrapper ${jre}/bin/java $out/bin/domination \ - --run "cd $out/share/domination" \ + --chdir "$out/share/domination" \ --add-flags "-jar $out/share/domination/Domination.jar" makeWrapper ${jre}/bin/java $out/bin/domination-map-editor \ - --run "cd $out/share/domination" \ + --chdir "$out/share/domination" \ --add-flags "-cp $out/share/domination/Domination.jar net.yura.domination.ui.swinggui.SwingGUIFrame" install -Dm644 \ |