From 3bf77d7c3144b16d55f35998dddc0d67bb8c17b2 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 7 Jun 2022 21:38:00 +0200 Subject: ... --- overlays/worktime/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'overlays/worktime') diff --git a/overlays/worktime/default.nix b/overlays/worktime/default.nix index d400648b..67be75ae 100644 --- a/overlays/worktime/default.nix +++ b/overlays/worktime/default.nix @@ -5,7 +5,9 @@ phases = [ "buildPhase" "checkPhase" "installPhase" ]; - python = prev.python39.withPackages (ps: with ps; [pyxdg dateutil uritools requests configparser tabulate]); + buildInputs = [ + (prev.python39.withPackages (ps: with ps; [pyxdg dateutil uritools requests configparser tabulate])) + ]; buildPhase = '' substituteAll $src worktime @@ -13,7 +15,7 @@ doCheck = true; checkPhase = '' - ${python}/bin/python -m py_compile worktime + python -m py_compile worktime ''; installPhase = '' -- cgit v1.2.3