danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.22k stars 159 forks source link

Stylix fails to build after newest flake change #639

Closed DockterTeagle closed 4 days ago

DockterTeagle commented 4 days ago

Howdy, after updating the flake, I get this error with respect to base16.nix

error: Error (base16.nix): Processing the input argument of the `mkSchemeAttrs` failed.
       Please consult https://github.com/SenchoPens/base16.nix/tree/main#%EF%B8%8F-troubleshooting
       builtins.toJSON of the parse result:
       {"author":"Michaël Ball","base00":"\"","base01":"\"","base02":"\"","base03":"\"","base04":"\"","base05":"\"","base06":"\"","base07":"\"","base08":"\"","base09":"\"","base0A":"\"","base0B":"\"","base0C":"\"","base0D":"\"","base0E":"\"","base0F":"\"","name":"Tokyo Night Dark","scheme":"Tokyo Night Dark","system":"base16","variant":"dark"}

I have currently rolled back and this is the relevant part of the flake.lock(I think) that shows which hash and commit it was:

      "stylix": {
      "inputs": {
        "base16": "base16",
        "base16-fish": "base16-fish",
        "base16-helix": "base16-helix",
        "base16-vim": "base16-vim",
        "flake-compat": "flake-compat_9",
        "flake-utils": "flake-utils_4",
        "gnome-shell": "gnome-shell",
        "home-manager": "home-manager_2",
        "nixpkgs": "nixpkgs_8",
        "systems": "systems_5",
        "tinted-foot": "tinted-foot",
        "tinted-kitty": "tinted-kitty",
        "tinted-tmux": "tinted-tmux"
      },
      "locked": {
        "lastModified": 1731577695,
        "narHash": "sha256-ohxX2gG7zDWIA3slEbiSyAVSiO98clCoL+CmiEiYwVU=",
        "owner": "danth",
        "repo": "stylix",
        "rev": "e0a278871b63b1800ccdda568861b5324dd93797",
        "type": "github"
      },
      "original": {
        "owner": "danth",
        "repo": "stylix",
        "type": "github"
      }
    },

if I update past this point I get the aforementioned error

DockterTeagle commented 4 days ago

here are the parts of my config that are causing the issue in the latest version, it only occurs when specifying the base16 file to use

stylix.base16Scheme =  "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
trueNAHO commented 4 days ago

Is this a duplicate of https://github.com/danth/stylix/issues/625?

DockterTeagle commented 4 days ago

I didnt see that apparently sorry, yes it would seem its a duplicate. closing now