From 224febb08c923a8e4fb4325fc0f0101b5917561e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 22 Dec 2025 14:12:57 +0100 Subject: ... --- overlays/worktime/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'overlays/worktime') diff --git a/overlays/worktime/default.nix b/overlays/worktime/default.nix index 579cf7ad..06695c55 100644 --- a/overlays/worktime/default.nix +++ b/overlays/worktime/default.nix @@ -9,9 +9,14 @@ let sourcePreference = "wheel"; }; }; - virtualEnv = pythonSet.mkVirtualEnv "worktime" workspace.deps.default; + package = "worktime"; + venv = pythonSet.mkVirtualEnv package workspace.deps.default; + inherit (final.callPackages flakeInputs.pyproject-nix.build.util {}) mkApplication; in { - worktime = virtualEnv.overrideAttrs (oldAttrs: { + worktime = (mkApplication { + inherit venv; + package = pythonSet.${package}; + }).overrideAttrs (oldAttrs: { meta = (oldAttrs.meta or {}) // { mainProgram = "worktime"; }; -- cgit v1.2.3