diff options
Diffstat (limited to 'overlays/worktime')
-rw-r--r-- | overlays/worktime/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ | |||
5 | 5 | ||
6 | phases = [ "buildPhase" "checkPhase" "installPhase" ]; | 6 | phases = [ "buildPhase" "checkPhase" "installPhase" ]; |
7 | 7 | ||
8 | python = prev.python39.withPackages (ps: with ps; [pyxdg dateutil uritools requests configparser tabulate]); | 8 | buildInputs = [ |
9 | (prev.python39.withPackages (ps: with ps; [pyxdg dateutil uritools requests configparser tabulate])) | ||
10 | ]; | ||
9 | 11 | ||
10 | buildPhase = '' | 12 | buildPhase = '' |
11 | substituteAll $src worktime | 13 | substituteAll $src worktime |
@@ -13,7 +15,7 @@ | |||
13 | 15 | ||
14 | doCheck = true; | 16 | doCheck = true; |
15 | checkPhase = '' | 17 | checkPhase = '' |
16 | ${python}/bin/python -m py_compile worktime | 18 | python -m py_compile worktime |
17 | ''; | 19 | ''; |
18 | 20 | ||
19 | installPhase = '' | 21 | installPhase = '' |