mirror of
https://github.com/kittywitch/konawall-py.git
synced 2026-02-09 04:19:19 -08:00
fix: pythonPackages -> python.pkgs
This commit is contained in:
parent
b503cc87a9
commit
55c51028af
2 changed files with 6 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -167,3 +167,6 @@ cython_debug/
|
|||
# App specific files
|
||||
app.log
|
||||
config.toml
|
||||
|
||||
# Nix
|
||||
/result
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue