From 687ed41b532af50e440258159b4360e783bad87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Fri, 7 Jul 2023 16:16:10 +0200 Subject: [PATCH] backintime: add missing dependency 'packaging' 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 import qttools File "/nix/store/fpr65b2gwpa4q9w3k6z8kjcd9yprmg6s-backintime-qt-1.3.3/share/backintime/qt/qttools.py", line 32, in from packaging.version import Version ModuleNotFoundError: No module named 'packaging' Fixes https://github.com/NixOS/nixpkgs/issues/241966. --- pkgs/applications/networking/sync/backintime/qt.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/sync/backintime/qt.nix b/pkgs/applications/networking/sync/backintime/qt.nix index a48d6d8804fe..419fabc9348f 100644 --- a/pkgs/applications/networking/sync/backintime/qt.nix +++ b/pkgs/applications/networking/sync/backintime/qt.nix @@ -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)