From 49da594fec66178deae11437603416da09eab7d1 Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Wed, 1 Apr 2026 23:59:39 -0400 Subject: [PATCH] Fix: use pkgs.python3Packages.fava for pythonModule access pkgs.fava (top-level) doesn't have pythonModule. Use pkgs.python3Packages.fava which does. Co-Authored-By: Claude Opus 4.6 (1M context) --- fava.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fava.nix b/fava.nix index 489afd6..21b05ce 100644 --- a/fava.nix +++ b/fava.nix @@ -8,10 +8,10 @@ let # Build a Python environment with fava and all extensions. # This avoids duplicate package conflicts by letting Python resolve # shared dependencies (like fava itself) in a single environment. - python = cfg.package.pythonModule; + favaPython = pkgs.python3Packages.fava; favaWithExtensions = if cfg.extensions == [] then cfg.package else let - env = python.withPackages (ps: [ cfg.package ] ++ cfg.extensions); + env = favaPython.pythonModule.withPackages (ps: [ favaPython ] ++ cfg.extensions); in env; in {