diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-12-10 18:23:57 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-12-15 00:10:41 -0500 |
commit | abe3475df8fd133045cd01fb14e0d7013cecf66e (patch) | |
tree | aebe4b3150948da1ecb8bcd9f23d43715ab9e2c0 /pkgs/games/anki | |
parent | 7ab19b15179d3b2fd7b63eab250a634048f3d88a (diff) |
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.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index c3caf9105d055..c1ba8851f5c4f 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 |