about summary refs log tree commit diff
path: root/pkgs/games/anki
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-12-10 18:23:57 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-12-15 00:10:41 -0500
commitabe3475df8fd133045cd01fb14e0d7013cecf66e (patch)
treeaebe4b3150948da1ecb8bcd9f23d43715ab9e2c0 /pkgs/games/anki
parent7ab19b15179d3b2fd7b63eab250a634048f3d88a (diff)
downloadnixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar.gz
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar.bz2
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar.lz
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar.xz
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.tar.zst
nixlib-abe3475df8fd133045cd01fb14e0d7013cecf66e.zip
treewide: remove bash snippets in flags
Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r--pkgs/games/anki/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix
index c3caf9105d05..c1ba8851f5c4 100644
--- a/pkgs/games/anki/default.nix
+++ b/pkgs/games/anki/default.nix
@@ -163,10 +163,13 @@ buildPythonApplication rec {
     '';
 
     dontWrapQtApps = true;
-    makeWrapperArgs = [
-        ''--prefix PATH ':' "${lame}/bin:${mplayer}/bin"''
-        "\${qtWrapperArgs[@]}"
-    ];
+
+    preFixup = ''
+      makeWrapperArgs+=(
+        "''${qtWrapperArgs[@]}"
+        --prefix PATH ':' "${lame}/bin:${mplayer}/bin"
+      )
+    '';
 
     # now wrapPythonPrograms from postFixup will add both python and qt env variables