stylix icon indicating copy to clipboard operation
stylix copied to clipboard

fromYaml: fromYaml not found in 25.11

Open WiredMic opened this issue 3 weeks ago • 3 comments

Description

When I updated to 25.11 my system would not compile.

  inputs = {
    # Nixpkgs
    nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
    # nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";

    # Home manager
    home-manager = {
      url = "github:nix-community/home-manager/release-25.11";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    stylix = {
      url = "github:danth/stylix/release-25.11";
      # url = "github:danth/stylix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
};

The error I got was

error:
       … while checking flake output 'nixosConfigurations'
         at /nix/store/dp3dsxwkkcim8si37blvvsjczsy1l8mr-source/flake.nix:122:7:
          121|
          122|       nixosConfigurations = {
             |       ^
          123|         nixDesk = nixpkgs.lib.nixosSystem {

       … while checking the NixOS configuration 'nixosConfigurations.nixDesk'
         at /nix/store/dp3dsxwkkcim8si37blvvsjczsy1l8mr-source/flake.nix:123:9:
          122|       nixosConfigurations = {
          123|         nixDesk = nixpkgs.lib.nixosSystem {
             |         ^
          124|           specialArgs = {

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/dgp9wmspgm6zhl66f0c81rvg3v7wwbsb-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/dgp9wmspgm6zhl66f0c81rvg3v7wwbsb-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.home-manager-rasmus.serviceConfig':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/nixos':

       … while evaluating the option `home-manager.users.rasmus.home.activation.checkFilesChanged.data':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/files.nix':

       … while evaluating the option `home-manager.users.rasmus.home.file."/home/rasmus/.config//kitty/kitty.conf".source':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/files.nix':

       … while evaluating the option `home-manager.users.rasmus.home.file."/home/rasmus/.config//kitty/kitty.conf".text':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/misc/xdg.nix':

       … while evaluating the option `home-manager.users.rasmus.xdg.configFile."kitty/kitty.conf".text':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/programs/kitty.nix':

       … while evaluating the option `home-manager.users.rasmus.programs.kitty.extraConfig':

       … while evaluating definitions from `/nix/store/x5bfa9q3y47z5lm4fph61c863zfqksiq-source/modules/kitty/hm.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: path '«github:SenchoPens/fromYaml/106af9e2f715e2d828df706c386a685698f3223b?narHash=sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8%3D»/nix/store/kbjvsxnz3w9j29m2lmxv6psbcgn4mkdr-source' does not exist

My stylix setup is

    # Ricing Linux Has Never Been Easier | NixOS + Stylix
    # https://www.youtube.com/watch?v=ljHkWgBaQWU&t=9s
    environment.systemPackages = with pkgs; [
      base16-schemes
      papirus-icon-theme
      kurzgesagt_dyson_sphere
    ];

    stylix = {
      enable = true;
      autoEnable = true;
    };

    # Don't forget to apply wallpaper
    stylix.image = lib.mkForce "${kurzgesagt_dyson_sphere}/kurzgesagt_dyson_sphere.png";

This is the full trace

full_trace.txt

flake.lock

flake.lock
{
  "nodes": {
    "ags": {
      "inputs": {
        "astal": "astal",
        "nixpkgs": "nixpkgs"
      },
      "locked": {
        "lastModified": 1764289441,
        "narHash": "sha256-ak+lgFiYE5PHByN1/BRkO5JP498hno6Ix24C1Qf/vec=",
        "owner": "Aylur",
        "repo": "ags",
        "rev": "e169694390548dfd38ff40f1ef2163d6c3ffe3ea",
        "type": "github"
      },
      "original": {
        "owner": "Aylur",
        "repo": "ags",
        "type": "github"
      }
    },
    "astal": {
      "inputs": {
        "nixpkgs": [
          "ags",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1764173295,
        "narHash": "sha256-Jh4VtPcK2Ov+RTcV9FtyQRsxiJmXFQGfqX6jjM7/mgc=",
        "owner": "aylur",
        "repo": "astal",
        "rev": "7d1fac8a4b2a14954843a978d2ddde86168c75ef",
        "type": "github"
      },
      "original": {
        "owner": "aylur",
        "repo": "astal",
        "type": "github"
      }
    },
    "base16": {
      "inputs": {
        "fromYaml": "fromYaml"
      },
      "locked": {
        "lastModified": 1755819240,
        "narHash": "sha256-qcMhnL7aGAuFuutH4rq9fvAhCpJWVHLcHVZLtPctPlo=",
        "owner": "SenchoPens",
        "repo": "base16.nix",
        "rev": "75ed5e5e3fce37df22e49125181fa37899c3ccd6",
        "type": "github"
      },
      "original": {
        "owner": "SenchoPens",
        "repo": "base16.nix",
        "type": "github"
      }
    },
    "base16-fish": {
      "flake": false,
      "locked": {
        "lastModified": 1754405784,
        "narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=",
        "owner": "tomyun",
        "repo": "base16-fish",
        "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
        "type": "github"
      },
      "original": {
        "owner": "tomyun",
        "repo": "base16-fish",
        "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
        "type": "github"
      }
    },
    "base16-helix": {
      "flake": false,
      "locked": {
        "lastModified": 1752979451,
        "narHash": "sha256-0CQM+FkYy0fOO/sMGhOoNL80ftsAzYCg9VhIrodqusM=",
        "owner": "tinted-theming",
        "repo": "base16-helix",
        "rev": "27cf1e66e50abc622fb76a3019012dc07c678fac",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "base16-helix",
        "type": "github"
      }
    },
    "base16-vim": {
      "flake": false,
      "locked": {
        "lastModified": 1732806396,
        "narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
        "owner": "tinted-theming",
        "repo": "base16-vim",
        "rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "base16-vim",
        "rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
        "type": "github"
      }
    },
    "doomemacs": {
      "flake": false,
      "locked": {
        "lastModified": 1764569695,
        "narHash": "sha256-fvsIPA9syYvImkNmmjLJlquz+2P4qqWhTmuxUIODYkw=",
        "owner": "doomemacs",
        "repo": "doomemacs",
        "rev": "2e16934f020eea3061e58ccc00afd50c1dc1a516",
        "type": "github"
      },
      "original": {
        "owner": "doomemacs",
        "repo": "doomemacs",
        "type": "github"
      }
    },
    "emacs-overlay": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ],
        "nixpkgs-stable": "nixpkgs-stable"
      },
      "locked": {
        "lastModified": 1764664291,
        "narHash": "sha256-IUD+LrKBDRK3Up5iVr2VNK6QnXKdtCeD+mNcd18WWE8=",
        "owner": "nix-community",
        "repo": "emacs-overlay",
        "rev": "e00706798dd5efbc781624e5bf97e68c7539a796",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "emacs-overlay",
        "type": "github"
      }
    },
    "emacs-overlay_2": {
      "inputs": {
        "nixpkgs": [
          "nix-doom-emacs-unstraightened"
        ],
        "nixpkgs-stable": [
          "nix-doom-emacs-unstraightened"
        ]
      },
      "locked": {
        "lastModified": 1764577999,
        "narHash": "sha256-IwA42+uB+Yr2ZeFOEs1YTPVkC+TxVMOFGVn3c8+XGvw=",
        "owner": "nix-community",
        "repo": "emacs-overlay",
        "rev": "0d82ba9b285a6a026f8c3986ed3d071af5c2f078",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "emacs-overlay",
        "type": "github"
      }
    },
    "firefox-gnome-theme": {
      "flake": false,
      "locked": {
        "lastModified": 1758112371,
        "narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=",
        "owner": "rafaelmardojai",
        "repo": "firefox-gnome-theme",
        "rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d",
        "type": "github"
      },
      "original": {
        "owner": "rafaelmardojai",
        "repo": "firefox-gnome-theme",
        "type": "github"
      }
    },
    "flake-parts": {
      "inputs": {
        "nixpkgs-lib": [
          "stylix",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1756770412,
        "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "rev": "4524271976b625a4a605beefd893f270620fd751",
        "type": "github"
      },
      "original": {
        "owner": "hercules-ci",
        "repo": "flake-parts",
        "type": "github"
      }
    },
    "fromYaml": {
      "flake": false,
      "locked": {
        "lastModified": 1731966426,
        "narHash": "sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8=",
        "owner": "SenchoPens",
        "repo": "fromYaml",
        "rev": "106af9e2f715e2d828df706c386a685698f3223b",
        "type": "github"
      },
      "original": {
        "owner": "SenchoPens",
        "repo": "fromYaml",
        "type": "github"
      }
    },
    "gnome-shell": {
      "flake": false,
      "locked": {
        "host": "gitlab.gnome.org",
        "lastModified": 1762869044,
        "narHash": "sha256-nwm/GJ2Syigf7VccLAZ66mFC8mZJFqpJmIxSGKl7+Ds=",
        "owner": "GNOME",
        "repo": "gnome-shell",
        "rev": "680e3d195a92203f28d4bf8c6e8bb537cc3ed4ad",
        "type": "gitlab"
      },
      "original": {
        "host": "gitlab.gnome.org",
        "owner": "GNOME",
        "ref": "gnome-49",
        "repo": "gnome-shell",
        "type": "gitlab"
      }
    },
    "home-manager": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1764613336,
        "narHash": "sha256-L979az28t/+SXvYw9qhOno5HLlDwkZOpz6LzCLnjmRM=",
        "owner": "nix-community",
        "repo": "home-manager",
        "rev": "f3902b5d8767985680875ad86d028371100faeb3",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "ref": "release-25.11",
        "repo": "home-manager",
        "type": "github"
      }
    },
    "nix-doom-emacs-unstraightened": {
      "inputs": {
        "doomemacs": "doomemacs",
        "emacs-overlay": "emacs-overlay_2",
        "nixpkgs": [
          "nixpkgs"
        ],
        "systems": "systems"
      },
      "locked": {
        "lastModified": 1764578891,
        "narHash": "sha256-lYZa3qoW+dfZTospRNqzk3LW5O2MK1OpumBbKVil6vg=",
        "owner": "marienz",
        "repo": "nix-doom-emacs-unstraightened",
        "rev": "1b9f309afacfb1d83c06014f4d801ca93d728e53",
        "type": "github"
      },
      "original": {
        "owner": "marienz",
        "repo": "nix-doom-emacs-unstraightened",
        "type": "github"
      }
    },
    "nix-flatpak": {
      "locked": {
        "lastModified": 1754777568,
        "narHash": "sha256-0bBqT+3XncgF8F03RFAamw9vdf0VmaDoIJLTGkjfQZs=",
        "owner": "gmodena",
        "repo": "nix-flatpak",
        "rev": "62f636b87ef6050760a8cb325cadb90674d1e23e",
        "type": "github"
      },
      "original": {
        "owner": "gmodena",
        "repo": "nix-flatpak",
        "type": "github"
      }
    },
    "nix-index-database": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1764475780,
        "narHash": "sha256-77jL5H5x51ksLiOUDjY0ZK8e2T4ZXLhj3ap8ETvknWI=",
        "owner": "nix-community",
        "repo": "nix-index-database",
        "rev": "5a3ff8c1a09003f399f43d5742d893c0b1ab8af0",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "nix-index-database",
        "type": "github"
      }
    },
    "nixos-hardware": {
      "locked": {
        "lastModified": 1764440730,
        "narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
        "owner": "NixOS",
        "repo": "nixos-hardware",
        "rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "master",
        "repo": "nixos-hardware",
        "type": "github"
      }
    },
    "nixpkgs": {
      "locked": {
        "lastModified": 1763966396,
        "narHash": "sha256-6eeL1YPcY1MV3DDStIDIdy/zZCDKgHdkCmsrLJFiZf0=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "5ae3b07d8d6527c42f17c876e404993199144b6a",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-stable": {
      "locked": {
        "lastModified": 1764560356,
        "narHash": "sha256-M5aFEFPppI4UhdOxwdmceJ9bDJC4T6C6CzCK1E2FZyo=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "6c8f0cca84510cc79e09ea99a299c9bc17d03cb6",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixos-25.05",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs-unstable": {
      "locked": {
        "lastModified": 1764517877,
        "narHash": "sha256-pp3uT4hHijIC8JUK5MEqeAWmParJrgBVzHLNfJDZxg4=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "2d293cbfa5a793b4c50d17c05ef9e385b90edf6c",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixos-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nixpkgs_2": {
      "locked": {
        "lastModified": 1764522689,
        "narHash": "sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD+/cTUzzgVFoaHrkqY=",
        "owner": "nixos",
        "repo": "nixpkgs",
        "rev": "8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f",
        "type": "github"
      },
      "original": {
        "owner": "nixos",
        "ref": "nixos-25.11",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "nur": {
      "inputs": {
        "flake-parts": [
          "stylix",
          "flake-parts"
        ],
        "nixpkgs": [
          "stylix",
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1758998580,
        "narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=",
        "owner": "nix-community",
        "repo": "NUR",
        "rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728",
        "type": "github"
      },
      "original": {
        "owner": "nix-community",
        "repo": "NUR",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "ags": "ags",
        "emacs-overlay": "emacs-overlay",
        "home-manager": "home-manager",
        "nix-doom-emacs-unstraightened": "nix-doom-emacs-unstraightened",
        "nix-flatpak": "nix-flatpak",
        "nix-index-database": "nix-index-database",
        "nixos-hardware": "nixos-hardware",
        "nixpkgs": "nixpkgs_2",
        "nixpkgs-unstable": "nixpkgs-unstable",
        "sops-nix": "sops-nix",
        "stylix": "stylix"
      }
    },
    "sops-nix": {
      "inputs": {
        "nixpkgs": [
          "nixpkgs"
        ]
      },
      "locked": {
        "lastModified": 1764483358,
        "narHash": "sha256-EyyvCzXoHrbL467YSsQBTWWg4sR96MH1sPpKoSOelB4=",
        "owner": "Mic92",
        "repo": "sops-nix",
        "rev": "5aca6ff67264321d47856a2ed183729271107c9c",
        "type": "github"
      },
      "original": {
        "owner": "Mic92",
        "repo": "sops-nix",
        "type": "github"
      }
    },
    "stylix": {
      "inputs": {
        "base16": "base16",
        "base16-fish": "base16-fish",
        "base16-helix": "base16-helix",
        "base16-vim": "base16-vim",
        "firefox-gnome-theme": "firefox-gnome-theme",
        "flake-parts": "flake-parts",
        "gnome-shell": "gnome-shell",
        "nixpkgs": [
          "nixpkgs"
        ],
        "nur": "nur",
        "systems": "systems_2",
        "tinted-foot": "tinted-foot",
        "tinted-kitty": "tinted-kitty",
        "tinted-schemes": "tinted-schemes",
        "tinted-tmux": "tinted-tmux",
        "tinted-zed": "tinted-zed"
      },
      "locked": {
        "lastModified": 1764695017,
        "narHash": "sha256-hJVPGt8MqRL0WHkNRclT4J1rJMurYsPw7dL8UwlFoaI=",
        "owner": "danth",
        "repo": "stylix",
        "rev": "a1e741dbce6e846129777c2a017e1354bc87b92b",
        "type": "github"
      },
      "original": {
        "owner": "danth",
        "ref": "release-25.11",
        "repo": "stylix",
        "type": "github"
      }
    },
    "systems": {
      "locked": {
        "lastModified": 1681028828,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    },
    "systems_2": {
      "locked": {
        "lastModified": 1681028828,
        "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
        "owner": "nix-systems",
        "repo": "default",
        "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
        "type": "github"
      },
      "original": {
        "owner": "nix-systems",
        "repo": "default",
        "type": "github"
      }
    },
    "tinted-foot": {
      "flake": false,
      "locked": {
        "lastModified": 1726913040,
        "narHash": "sha256-+eDZPkw7efMNUf3/Pv0EmsidqdwNJ1TaOum6k7lngDQ=",
        "owner": "tinted-theming",
        "repo": "tinted-foot",
        "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "tinted-foot",
        "rev": "fd1b924b6c45c3e4465e8a849e67ea82933fcbe4",
        "type": "github"
      }
    },
    "tinted-kitty": {
      "flake": false,
      "locked": {
        "lastModified": 1735730497,
        "narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
        "owner": "tinted-theming",
        "repo": "tinted-kitty",
        "rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "tinted-kitty",
        "type": "github"
      }
    },
    "tinted-schemes": {
      "flake": false,
      "locked": {
        "lastModified": 1757716333,
        "narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=",
        "owner": "tinted-theming",
        "repo": "schemes",
        "rev": "317a5e10c35825a6c905d912e480dfe8e71c7559",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "schemes",
        "type": "github"
      }
    },
    "tinted-tmux": {
      "flake": false,
      "locked": {
        "lastModified": 1757811970,
        "narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=",
        "owner": "tinted-theming",
        "repo": "tinted-tmux",
        "rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "tinted-tmux",
        "type": "github"
      }
    },
    "tinted-zed": {
      "flake": false,
      "locked": {
        "lastModified": 1757811247,
        "narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=",
        "owner": "tinted-theming",
        "repo": "base16-zed",
        "rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e",
        "type": "github"
      },
      "original": {
        "owner": "tinted-theming",
        "repo": "base16-zed",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}

Installation Method

NixOS

System Information

OS: NixOS 25.11 (Xantusia) x86_64 There are no other user than me. I am running this on bare metal. The version of NixOS, nixpkgs, and Stylix is 25.11.

Submission Checklist

  • [x] I assert that this issue is relevant to Stylix
  • [x] I assert that this is not a duplicate of an existing issue
  • [x] I assert that this is a bug and not a user error or support request

Notify maintainers

No response

WiredMic avatar Dec 03 '25 09:12 WiredMic

When I updated to 25.11 my system would not compile.

[...]

       error: path '«github:SenchoPens/fromYaml/106af9e2f715e2d828df706c386a685698f3223b?narHash=sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8%3D»/nix/store/kbjvsxnz3w9j29m2lmxv6psbcgn4mkdr-source' does not exist

This is a weird error. I suppose this might be caused by commit 6d5708ee0c22 ("flake: use 25.11 branch of dependencies (#2026)") not coherently updating other inputs. Is this still an issue after commit cfde343ff369 ("flake: update all inputs (#2034)")?

trueNAHO avatar Dec 03 '25 14:12 trueNAHO

The error is still there after pinning cfde343

    stylix = {
      url = "github:danth/stylix/cfde343ff369c8aa898f263ed3dad8c5eb095491";
      inputs.nixpkgs.follows = "nixpkgs";
    };

git add **
sudo nix flake check
warning: Git tree '/home/rasmus/nix-config' is dirty
warning: unknown flake output 'homeManagerModules'
warning: download buffer is full; consider increasing the 'download-buffer-size' setting
error:
       … while checking flake output 'nixosConfigurations'
         at /nix/store/jxicp3f885vyxp8i6riybh674w1mvv65-source/flake.nix:123:7:
          122|
          123|       nixosConfigurations = {
             |       ^
          124|         nixDesk = nixpkgs.lib.nixosSystem {

       … while checking the NixOS configuration 'nixosConfigurations.nixDesk'
         at /nix/store/jxicp3f885vyxp8i6riybh674w1mvv65-source/flake.nix:124:9:
          123|       nixosConfigurations = {
          124|         nixDesk = nixpkgs.lib.nixosSystem {
             |         ^
          125|           specialArgs = {

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/dgp9wmspgm6zhl66f0c81rvg3v7wwbsb-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/dgp9wmspgm6zhl66f0c81rvg3v7wwbsb-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.home-manager-rasmus.serviceConfig':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/nixos':

       … while evaluating the option `home-manager.users.rasmus.home.activation.checkFilesChanged.data':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/files.nix':

       … while evaluating the option `home-manager.users.rasmus.home.file."/home/rasmus/.config//kitty/kitty.conf".source':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/files.nix':

       … while evaluating the option `home-manager.users.rasmus.home.file."/home/rasmus/.config//kitty/kitty.conf".text':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/misc/xdg.nix':

       … while evaluating the option `home-manager.users.rasmus.xdg.configFile."kitty/kitty.conf".text':

       … while evaluating definitions from `/nix/store/ba5f1y10pw9zqjqhklbri88p0p523qhw-source/modules/programs/kitty.nix':

       … while evaluating the option `home-manager.users.rasmus.programs.kitty.extraConfig':

       … while evaluating definitions from `/nix/store/6pqgfv4jbdgzh8hl236nmlfmpq2l40sa-source/modules/kitty/hm.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: path '«github:SenchoPens/fromYaml/106af9e2f715e2d828df706c386a685698f3223b?narHash=sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8%3D»/nix/store/kbjvsxnz3w9j29m2lmxv6psbcgn4mkdr-source' does not exist
error: Recipe `rebuild-pre` failed on line 9 with exit code 1

I ran nix-collect-garbage -d before running nix flake check.

full_trace.txt flake.lock.txt

WiredMic avatar Dec 04 '25 08:12 WiredMic

Sadly, I cannot figure out the problem from the trace alone.

Maybe the colors transformation somehow fails because your stylix.base16Scheme is invalid and this is somehow not asserted anywhere:

https://github.com/nix-community/stylix/blob/cfde343ff369c8aa898f263ed3dad8c5eb095491/modules/kitty/hm.nix#L33-L50

Since CI is passing on commit cfde343ff369 ("flake: update all inputs (#2034)"), I assume something weird is going on in your setup. The Kitty module is tested as follows:

https://github.com/nix-community/stylix/blob/cfde343ff369c8aa898f263ed3dad8c5eb095491/modules/kitty/testbeds/kitty.nix#L1-L17

I suggest creating a minimal reproducible environment with a Stylix testbed. After pinpointing the issue, the fix should probably be trivial.

trueNAHO avatar Dec 04 '25 14:12 trueNAHO

I suggest creating a minimal reproducible environment with a Stylix testbed.

that seems like overkill, a simple flake.nix with a nixosConfiguration output should be plenty.

0xda157 avatar Dec 06 '25 00:12 0xda157

I ripped everything from my config until it was just basicly just stylix. This is the file tree.

❯ tree
.
├── flake.lock
├── flake.nix
├── home
│   └── rasmus
│       └── nixLap
│           └── home.nix
├── hosts
│   └── nixLap
│       ├── configuration.nix
│       ├── hardware-configuration.nix
│       └── stylix
│           ├── background
│           │   └── kurzgesagt_dyson_sphere.nix
│           └── stylix.nix
└── justfile

Here is the config: nix-config-test.zip.

It still has the same error

❯ just test
git add **
sudo nix flake check
[sudo] password for rasmus: 
warning: Git tree '/home/rasmus/nix-config-test' is dirty
error:
       … while checking flake output 'nixosConfigurations'
         at /nix/store/bhwjbd3llnnl42g6h15ma685jjdn3aj3-source/flake.nix:55:7:
           54|
           55|       nixosConfigurations = {
             |       ^
           56|         nixLap = nixpkgs.lib.nixosSystem {

       … while checking the NixOS configuration 'nixosConfigurations.nixLap'
         at /nix/store/bhwjbd3llnnl42g6h15ma685jjdn3aj3-source/flake.nix:56:9:
           55|       nixosConfigurations = {
           56|         nixLap = nixpkgs.lib.nixosSystem {
             |         ^
           57|           specialArgs = {

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/mmbrs76ksccdn0bvvqs4plivwh6xlcs5-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `assertions':

       … while evaluating definitions from `/nix/store/3d87yrfsdq5dvl1h4ns9mgb49fs10xxn-source/nixos/common.nix':

       … while evaluating the option `home-manager.users.rasmus.assertions':

       … while evaluating definitions from `/nix/store/3d87yrfsdq5dvl1h4ns9mgb49fs10xxn-source/modules/misc/xdg-system-dirs.nix':

       … while evaluating the option `home-manager.users.rasmus.xdg.systemDirs.config':

       … while evaluating definitions from `/nix/store/6pqgfv4jbdgzh8hl236nmlfmpq2l40sa-source/modules/kde/hm.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: path '«github:SenchoPens/fromYaml/106af9e2f715e2d828df706c386a685698f3223b?narHash=sha256-lq95WydhbUTWig/JpqiB7oViTcHFP8Lv41IGtayokA8%3D»/nix/store/kbjvsxnz3w9j29m2lmxv6psbcgn4mkdr-source' does not exist
error: Recipe `test` failed on line 7 with exit code 1

Here is the full trace from

❯ sudo nix flake check --show-trace 2>&1 | wl-copy

full_trace.txt

WiredMic avatar Dec 07 '25 16:12 WiredMic

Here is the config: nix-config-test.zip.

I am unable to reproduce your failure:

$ nix --version
nix (Nix) 2.31.2

$ nix flake check
$ echo $?
0

Maybe your Nix store got somehow corrupted. Consider repairing it with something like nix store repair, or simply GC-ing your store.

trueNAHO avatar Dec 09 '25 23:12 trueNAHO

I reinstalled my desktop and there is no error there. I will reinstall my laptop sometime over christmas, then I will see if there is still a problem

WiredMic avatar Dec 15 '25 18:12 WiredMic