Skip to content

NixOS Megathread #551

Closed
Closed

Description

@ejalxndr

What is this?

This is a mega thread for all NixOS related issues and topics. As we (the Millennium authors) do NOT maintain/develop the NixOS distribution of Millennium, all related questions, issues, feature requests, etc should be here.

Not Maintained?

We (the Millennium authors) are not actively working on a NixOS build for Millennium, and we don't plan on making one. That said, we will officially recognize NixOS support if it's contributed to the repository; however, we will NOT bug fix it or update it in any fashion. All contributions must be done by the community - If there is an issue, it's up for you guys to solve!

Note

Do NOT open new issues, features, or ask related questions about NixOS-Millennium to any of the developers. We know nothing about NixOS, or how the Millennium is packaged within it. Thanks :)

However, you CAN ask specific questions to the Millennium developers about porting to NixOS. ex: "What does this module do? Does it need to be built for Millennium to work?" etc. Just don't ask us questions that require background knowledge of NixOS.

Getting in touch with the Millennium developers.

I will likely read this thread incredibly irregularly. if you need to reach out, ping me on our discord server.

Activity

  1. added
    bug
    on Dec 3, 2025
  2. pinned this issue on Dec 3, 2025
  3. DioKyrie commented on Dec 4, 2025

    @DioKyrie
    Contributor

    @shdwmtr What happened to assets folder in next branch?

  4. ejalxndr commented on Dec 4, 2025

    @ejalxndr
    MemberAuthor

    assets used to be the location where the frontend UI, and the backend that served the frontend existed. Since Millennium is moving away from Python entirely, I rewrote the entirety of the backend in C++, instead of python.

    New frontend location: https://github.com/SteamClientHomebrew/Millennium/tree/next/src/frontend
    New C++ backend location: https://github.com/SteamClientHomebrew/Millennium/tree/next/src/backend

    The C++ port is essentially a 1:1 replication of the old backend, just in C++.

    Helpful Notes

    Always take a look at the Millennium CI, it shows how Millennium is properly packaged.

  5. michaelgoldenn commented on Dec 4, 2025

    @michaelgoldenn
    Contributor

    I'm also having the pnpm-lock issue described in #504. Trying to build gives:
    yq: error: argument files: can't open 'pnpm-lock.yaml': [Errno 2] No such file or directory: 'pnpm-lock.yaml'
    I tried following @yari-dog's advice but everything I tried still gave the same error. If anyone has anything that worked for them it would be very much appreciated

  6. DioKyrie commented on Dec 5, 2025

    @DioKyrie
    Contributor

    I'm also having the pnpm-lock issue described in #504. Trying to build gives: yq: error: argument files: can't open 'pnpm-lock.yaml': [Errno 2] No such file or directory: 'pnpm-lock.yaml' I tried following @yari-dog's advice but everything I tried still gave the same error. If anyone has anything that worked for them it would be very much appreciated

    Yep stuck here as well

  7. michaelgoldenn commented on Dec 7, 2025

    @michaelgoldenn
    Contributor

    @DioKyrie-Git I've found the fix and made a PR. It should work for you whenever the changes get merged. In the meantime if you'd like you can change your flake definition from:
    inputs.millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium";
    to:
    inputs.millennium.url = "git+https://github.com/michaelgoldenn/Millennium"
    And then it should work for you. If you do this though remember to change it back once the changes are pulled because I will likely not be updating my fork.

  8. not-a-cowfr commented on Dec 9, 2025

    @not-a-cowfr

    @DioKyrie-Git I've found the fix and made a PR. It should work for you whenever the changes get merged. In the meantime if you'd like you can change your flake definition from: inputs.millennium.url = "git+https://github.com/SteamClientHomebrew/Millennium"; to: inputs.millennium.url = "git+https://github.com/michaelgoldenn/Millennium" And then it should work for you. If you do this though remember to change it back once the changes are pulled because I will likely not be updating my fork.

    your pr was merged and i confirmed that the source nix was using contained your commit and i still got the same error, however doing this seemed to fix it immediately

    unfortunately it still does not work due to a single failed test (when building watchdog i think?) though im pretty sure this could just be a system specific issue

    FAILED tests/test_inotify_c.py::test_select_fd - OSError: [Errno 24] Too many open files: '/build/pytest-of-nixbld/pytest-0/test_select_fd0/new_file'
    =========== 1 failed, 162 passed, 3 skipped, 3 deselected in 54.48s ============
    
  9. ejalxndr commented on Dec 12, 2025

    @ejalxndr
    MemberAuthor

    Just a note to Nix users, as the previous Nix maintainer no longer wanted to work on the project, all Nix related build scripts have been removed on the dev branch. This means once dev gets merged in the next release, it will no longer work on Nix. Obviously support can be re-added in a better fashion, but as of right now its non-existent.

  10. Shochraos commented on Dec 15, 2025

    @Shochraos
    Contributor

    @not-a-cowfr Nope, I was able to reproduce the issue.
    Millennium also doesn't build on my system.
    Really sad to see that the current maintainer stepped down, but I'm really thankful for all the work they've put in!

  11. Shochraos commented on Dec 15, 2025

    @Shochraos
    Contributor

    small update, the problem with the package was that watchdog needed too many file handles. Temporarily raising the limit with ulimit -n 65535 works and lets it compile.

  12. ejalxndr commented on Dec 15, 2025

    @ejalxndr
    MemberAuthor

    I know nothing about Nix, but could we see Millennium in nixpkgs? or does it not meet certain requirements. Correct me if I'm wrong, but the way it was setup before was using "flakes" which seem to suck and won't work with nixpkg

  13. Shochraos commented on Dec 15, 2025

    @Shochraos
    Contributor

    I'll take a look on the weekend to see if that's possible. I'll ping you if I make any progress (if you don't mind) @shdwmtr

  14. not-a-cowfr commented on Dec 15, 2025

    @not-a-cowfr

    @shdwmtr it should most definitely be able to be packaged without using flakes, and fairly easy at that. but flakes would still be useful when paired with home-manager for creating a declarative config

  15. Shochraos commented on Dec 15, 2025

    @Shochraos
    Contributor

    Yeah I talked with a friend and we'll pull request to nixpkgs in the following week. As I don't configure Millenium with Home-Manager I would probably not be maintaining a flake

  16. 172 remaining items

  17. Izumemori commented on Jul 3, 2026

    @Izumemori
    Contributor

    i don't know why the video would not work for you as for me, when i view it in the browser it plays normally

    I can view it in mpv apparently. But it cuts off before it gets interesting. Can you just paste the logs including the part where it flickers? Does millennium actually load (is the Millennium menu point under Steam)? Or is it completely failing to load?

    The log would really help narrow this down. But I suspect it's to do with either using home-manager to install the package (sorry your config is very confusing) or with not using the programs.steam module. That module also sets up hardware.graphics correctly.

    Can you try using the programs.steam module instead to see if that works?

  18. rsa17826 commented on Jul 3, 2026

    @rsa17826

    i stopped it there as that was when steam froze as shown by how my mouse was moving and it showed steam as frozen and not updating the hovered game and i was unable to click anything on steam.

    even though this was reproducible at the time i first got the bug to occur, so if it happens again i will try to get the logs but i guess this might not be an actual issue with Millennium and instead

    but as I've been trying to get it to happen again and steam is working fine now and i don't know what changed unless there was an issue with the Millennium install as i did uninstall Millennium and install normal steam to test if it was specific to Millennium as that appears to be the only change I've made

    also i will test and see if using programs.steam has any effect

  19. DrymarchonShaun commented on Jul 3, 2026

    @DrymarchonShaun
    Contributor

    Ok, I opened the new nixpkgs PR for millennium at NixOS/nixpkgs#538226, if anyone wants to test it and verify functionality.

  20. Izumemori commented on Jul 3, 2026

    @Izumemori
    Contributor

    i stopped it there as that was when steam froze as shown by how my mouse was moving and it showed steam as frozen and not updating the hovered game and i was unable to click anything on steam.

    even though this was reproducible at the time i first got the bug to occur, so if it happens again i will try to get the logs but i guess this might not be an actual issue with Millennium and instead

    but as I've been trying to get it to happen again and steam is working fine now and i don't know what changed unless there was an issue with the Millennium install as i did uninstall Millennium and install normal steam to test if it was specific to Millennium as that appears to be the only change I've made

    also i will test and see if using programs.steam has any effect

    Might be good to switch the flake back to the main branch for the time being? next works for me currently but it's not explicitly stable. main should also be fixed since I left that comment.

  21. Izumemori commented on Jul 3, 2026

    @Izumemori
    Contributor

    Ok, I opened the new nixpkgs PR for millennium at NixOS/nixpkgs#538226, if anyone wants to test it and verify functionality.

    That PR looks good. That's definitely the best way to go about upstreaming it right now.

  22. rsa17826 commented on Jul 3, 2026

    @rsa17826

    i stopped it there as that was when steam froze as shown by how my mouse was moving and it showed steam as frozen and not updating the hovered game and i was unable to click anything on steam.

    even though this was reproducible at the time i first got the bug to occur, so if it happens again i will try to get the logs but i guess this might not be an actual issue with Millennium and instead

    but as I've been trying to get it to happen again and steam is working fine now and i don't know what changed unless there was an issue with the Millennium install as i did uninstall Millennium and install normal steam to test if it was specific to Millennium as that appears to be the only change I've made

    also i will test and see if using programs.steam has any effect

    edit, as i was reenabling the plugins i got it to freeze again

    video to large for gh this time and set fps to 60 instead of vfr so hopefully your browser should view it better this time
    https://files.catbox.moe/8k6khv.mp4

    and this is before i got to testing using programs.steam

    first log
    fullsteam.log

    edit: just tested programs.steam and using it did nothing to fix the issue

    second log from when using programs.steam
    steambad.log

  23. Izumemori commented on Jul 3, 2026

    @Izumemori
    Contributor

    fullsteam.log

    Looks like the patcher isn't finding what it wants to patch, is there coincidentally an OOM kill in dmesg? Neither main nor next get into such a PATCHER loop for me. I can also see a CPipeWaiter::BRemove assertion failing in your log which seems to occur in low memory scenarios.

    I fear this may be system specific and not related to nixos itself. I do see a slight memory usage difference between steam with and without millennium, but not more than 500 to 700MB.

    Last useful thing I can suggest is looking at dmesg/journalctl -k, seeing if there's anything interesting there and watching your RAM usage...

  24. added
    dependencies
    documentation
    and removed
    bug
    dependencies
    on Jul 4, 2026
  25. locked as resolved and limited conversation to collaborators on Jul 4, 2026
  26. converted this issue into a discussion #832 on Jul 4, 2026
  27. unpinned this issue on Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions