diff options
Diffstat (limited to 'pkgs/games/anki/default.nix')
-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 |