Skip to content

[BUG] flake fails to run as materialyoucolor in nixpkgs is outdated. #93

@Kalagmitan

Description

@Kalagmitan

Step 1. Before you submit

  • I have read the above instructions and am sure that this is supposed to be posted here.
  • I've successfully updated to the latest versions following the updating guide.
  • I've successfully updated the system packages to the latest.
  • I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info
warning: Git tree '/home/<me>/...' is dirty
Packages: not on Arch

fatal: not a git repository: '/home/<me>/.config/.git'
Caelestia: not installed

Shell:
     caelestia-shell 1.3.4, revision 35bc6d39630bf5c469f0c5d3f0f24ad280b522d4, distrubuted by: Unset

Quickshell:
    quickshell 0.2.1, revision dacfa9de829ac7cb173825f593236bf2c21f637e, distributed by: Fedora COPR (errornoint
ernet/quickshell)

Local copy of shell found:
    Last merged upstream commit: 93e8880842b03e251bf59d1ba316f2393c68574f
    Commit message: shortcuts: Sidebar and Utilities shortcuts (#1160)  * shortcuts: Added shortcut to toggle th
e sidebar  * shortcuts: added utilities shortcut to toggle utilities

    Last commit: 525541dd666bdd2e863cecacd3c2c1dcd9f3d6aa
    Commit message: Merge remote-tracking branch 'upstream/main' 

Step 3. Describe the issue

For anyone that needs to know. The current flake.nix fails to build because it requires materialyoucolor v3, but Nixpkgs is still providing v2. Nix users should be hitting a ModuleNotFoundError for dynamic_scheme.

Just opened up an update request:
NixOS/nixpkgs#495425

Logs Here is a log from a local test inside my nix container:
local-test/test_caelestia.py:15: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/nix/store/cdi2vb25wnnaxhifzjhpjyb14l4p30mb-caelestia-cli-f67c34d9f6715727ef4f522710a1ec12df0e8750-dirty/lib/pyt
hon3.13/site-packages/caelestia/utils/wallpaper.py:189: in set_wallpaper
    scheme.update_colours()
/nix/store/cdi2vb25wnnaxhifzjhpjyb14l4p30mb-caelestia-cli-f67c34d9f6715727ef4f522710a1ec12df0e8750-dirty/lib/pyt
hon3.13/site-packages/caelestia/utils/scheme.py:143: in update_colours
    self._update_colours()
/nix/store/cdi2vb25wnnaxhifzjhpjyb14l4p30mb-caelestia-cli-f67c34d9f6715727ef4f522710a1ec12df0e8750-dirty/lib/pyt
hon3.13/site-packages/caelestia/utils/scheme.py:161: in _update_colours
    self._colours = get_colours_for_image()
                    ^^^^^^^^^^^^^^^^^^^^^^^
/nix/store/cdi2vb25wnnaxhifzjhpjyb14l4p30mb-caelestia-cli-f67c34d9f6715727ef4f522710a1ec12df0e8750-dirty/lib/pyt
hon3.13/site-packages/caelestia/utils/material/__init__.py:42: in get_colours_for_image
    from caelestia.utils.material.generator import gen_scheme
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    from materialyoucolor.blend import Blend
>   from materialyoucolor.dynamiccolor.dynamic_scheme import DynamicScheme
E   ModuleNotFoundError: No module named 'materialyoucolor.dynamiccolor.dynamic_scheme'

/nix/store/cdi2vb25wnnaxhifzjhpjyb14l4p30mb-caelestia-cli-f67c34d9f6715727ef4f522710a1ec12df0e8750-dirty/lib/pyt
hon3.13/site-packages/caelestia/utils/material/generator.py:2: ModuleNotFoundError
=========================================== short test summary info ============================================
FAILED local-test/test_caelestia.py::test_set_wallpaper - ModuleNotFoundError: No module named 'materialyoucolor
.dynamiccolor.dynamic_scheme'
============================================== 1 failed in 0.08s ===============================================

Reminder

  • I agree that it's usually impossible for others to help me without my logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions