Skip to content

Commit

Permalink
dupeguru: Don't override qt5 version.
Browse files Browse the repository at this point in the history
Since Python's pyqt5 is using qt5.15, it should use the same version as
well.

(cherry picked from commit 56d047f)
  • Loading branch information
doronbehar authored and FRidh committed Oct 13, 2020
1 parent 9e49c84 commit 8bcf0f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pkgs/applications/misc/dupeguru/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ python3Packages.buildPythonApplication rec {
# Avoid double wrapping Python programs.
dontWrapQtApps = true;

# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
preFixup = ''
# TODO: A bug in python wrapper
# see https://github.com/NixOS/nixpkgs/pull/75054#discussion_r357656916
makeWrapperArgs="''${qtWrapperArgs[@]}"
'';

# Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
# so wrapPythonPrograms hook does not handle it automatically.
postFixup = ''
# Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
# so wrapPythonPrograms hook does not handle it automatically.
wrapPythonProgramsIn "$out/share/dupeguru" "$out $pythonPath"
'';

Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ in

dispad = callPackage ../tools/X11/dispad { };

dupeguru = callPackage ../applications/misc/dupeguru { qt5 = qt514; };
dupeguru = callPackage ../applications/misc/dupeguru { };

dump1090 = callPackage ../applications/radio/dump1090 { };

Expand Down

0 comments on commit 8bcf0f2

Please sign in to comment.