summaryrefslogtreecommitdiff
path: root/overlays/worktime/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-06-07 21:38:00 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-06-07 21:38:00 +0200
commit3bf77d7c3144b16d55f35998dddc0d67bb8c17b2 (patch)
tree805b343e50d733240b3dae8700d43060943b4dab /overlays/worktime/default.nix
parentfc6cf6169868e60c189e4b243330c3717ff159f3 (diff)
downloadnixos-3bf77d7c3144b16d55f35998dddc0d67bb8c17b2.tar
nixos-3bf77d7c3144b16d55f35998dddc0d67bb8c17b2.tar.gz
nixos-3bf77d7c3144b16d55f35998dddc0d67bb8c17b2.tar.bz2
nixos-3bf77d7c3144b16d55f35998dddc0d67bb8c17b2.tar.xz
nixos-3bf77d7c3144b16d55f35998dddc0d67bb8c17b2.zip
...
Diffstat (limited to 'overlays/worktime/default.nix')
-rw-r--r--overlays/worktime/default.nix6
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 = ''