From 55c51028af579813641da3e91e02cbf11ab9d87d Mon Sep 17 00:00:00 2001 From: Kat Inskip Date: Sun, 6 Apr 2025 13:41:27 -0700 Subject: [PATCH] fix: pythonPackages -> python.pkgs --- .gitignore | 3 +++ package.nix | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f706768..e06a92f 100644 --- a/.gitignore +++ b/.gitignore @@ -167,3 +167,6 @@ cython_debug/ # App specific files app.log config.toml + +# Nix +/result diff --git a/package.nix b/package.nix index dbf611d..37a5c88 100644 --- a/package.nix +++ b/package.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - python311Packages, + python, psmisc, gobject-introspection, gtk3, @@ -12,7 +12,7 @@ feh, pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml); poetryBlock = pyproject.tool.poetry; dependencyReplacements = { - wxpython = python311Packages.wxPython_4_2; + wxpython = python.pkgs.wxPython_4_2; }; in buildPythonPackage rec { @@ -30,7 +30,7 @@ in propagatedBuildInputs = let dependencyNames = (lib.attrNames poetryBlock.dependencies) ++ ["setuptools" "pygobject3" "pystray" "dbus-python"]; - dependencies = map (name: python311Packages.${name} or dependencyReplacements.${name}) dependencyNames; + dependencies = map (name: python.pkgs.${name} or dependencyReplacements.${name}) dependencyNames; in dependencies ++ [ feh