Millennium: [Bug] [NixOS] pnpm.fetchDeps returned hash mismatch

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a theme
  • My issue is not caused by a plugin

Describe the Bug

When using Millennium as a Nix flake input, nix fails to build Millennium (next branch), stating that the pnpm dependencies return a different hash than specified.

error: hash mismatch in fixed-output derivation '/nix/store/jvbkhk4443l6mgcab118sp9in3i4byrn-millennium-assets-pnpm-deps.drv':
         specified: sha256-nDSltpFQRM9loVuDour4OrRdN22/A7MkZTGAtL0x7rU=
            got:    sha256-M2kvId8f1kV8gHSJWubNAS3u0IFrHWKfeci2zrj5lmQ=
error: 1 dependencies of derivation '/nix/store/88l7zs7zwf7shbsirq2qparzpq1zvknh-millennium-assets-git.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dv3bv921frp3cfsj1y0nwiw15zx7s7ml-millennium-git.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xkjjx69h8c84bsad98pgwlg1fyfii9x6-steam-fhsenv-profile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ygi52z5dkcfsdw91wp800c8jrk86kvjd-steam-run-fhsenv-profile.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hdh0n89vg0gijmd16h0dihb2ndxkcmww-steam-fhsenv-rootfs.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n6sg1276qpjwzx57bh9ymyxli3b3lrm1-steam-run-fhsenv-rootfs.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8lfsgzmr7nw0jgnqpypnm35mmdq5k8cf-steam-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/508vlns3z4ishs68kd45whkxiw6xqr29-steam-run-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9ihz65mi11rvl974f8y9g337xrgphm6s-steam-run.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xm9pihyjqzmlbb736idqp5phi3kr48lm-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2wa2dswndsh54p8jz5ahw5g12k5qmg2q-nixos-system-vmware-25.11.20250719.c87b95e.drv' failed to build
Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."nixos".config.system.build.toplevel' --no-link' returned non-zero exit status 1.

Expected Behavior

To build with no errors.

Steps To Reproduce

  1. Include millennium (next branch) as an input
inputs.millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium?ref=next";
  1. Add the overlay to local nixpkgs overlays
nixpkgs.overlays = [
  inputs.millennium.overlays.default
];
  1. Set programs.steam.package to the steam-millennium package
programs.steam = {
  enable = true;
  package = pkgs.steam-millennium;
};

Operating System

Linux

Anything else?

The hash was added in #427 pkgs.steam-millennium is used instead of pkgs.millennium as mentioned in #404

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

dont be sorry, you learned something and that is more important imo ❤️