Skip to content

Commit

Permalink
backintime: add missing dependency 'packaging'
Browse files Browse the repository at this point in the history
Fixes this error:

  $ ./result/bin/backintime-qt
  /nix/store/fpr65b2gwpa4q9w3k6z8kjcd9yprmg6s-backintime-qt-1.3.3
  Traceback (most recent call last):
    File "/nix/store/fpr65b2gwpa4q9w3k6z8kjcd9yprmg6s-backintime-qt-1.3.3/share/backintime/qt/app.py", line 35, in <module>
      import qttools
    File "/nix/store/fpr65b2gwpa4q9w3k6z8kjcd9yprmg6s-backintime-qt-1.3.3/share/backintime/qt/qttools.py", line 32, in <module>
      from packaging.version import Version
  ModuleNotFoundError: No module named 'packaging'

Fixes #241966.
  • Loading branch information
bjornfor committed Jul 8, 2023
1 parent 9ae20ca commit 687ed41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/networking/sync/backintime/qt.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ mkDerivation, backintime-common, python3 }:

let
python' = python3.withPackages (ps: with ps; [ pyqt5 backintime-common ]);
python' = python3.withPackages (ps: with ps; [ pyqt5 backintime-common packaging ]);
in
mkDerivation {
inherit (backintime-common)
Expand Down

0 comments on commit 687ed41

Please sign in to comment.