about summary refs log tree commit diff
path: root/pkgs/applications/networking/flent/default.nix
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-10-08 15:05:02 +0300
committerFrederik Rietdijk <fridh@fridh.nl>2020-10-08 18:57:23 +0200
commit3d8267ee883ab2627070da21df288614112b9000 (patch)
tree3cb179fe779dd86b525606f0adf162e6d0ea2eae /pkgs/applications/networking/flent/default.nix
parent16c2b3c6143462c25dc72751f4f2b1a4f0380a45 (diff)
flent: Use qt5.15 just like pyqt5 use in it (#99956)
Bonus: Spare double wrapping.
Diffstat (limited to 'pkgs/applications/networking/flent/default.nix')
-rw-r--r--pkgs/applications/networking/flent/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/networking/flent/default.nix b/pkgs/applications/networking/flent/default.nix
index 19f813e5c7584..319630ceff35e 100644
--- a/pkgs/applications/networking/flent/default.nix
+++ b/pkgs/applications/networking/flent/default.nix
@@ -25,10 +25,8 @@ buildPythonApplication rec {
     xvfb-run -s '-screen 0 800x600x24' ./test-runner
   '';
 
-  postInstall = ''
-    for program in $out/bin/*; do
-      wrapQtApp $program --prefix PYTHONPATH : $PYTHONPATH
-    done
+  preFixup = ''
+    makeWrapperArgs+=("''${qtWrapperArgs[@]}")
   '';
 
   meta = with stdenv.lib; {