Repository navigation
Replies: 205 comments 24 replies
|
@shdwmtr What happened to assets folder in next branch? |
|
New frontend location: https://github.com/SteamClientHomebrew/Millennium/tree/next/src/frontend The C++ port is essentially a 1:1 replication of the old backend, just in C++. Helpful NotesAlways take a look at the Millennium CI, it shows how Millennium is properly packaged. |
|
I'm also having the |
Yep stuck here as well |
|
@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: |
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 |
|
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. |
|
@not-a-cowfr Nope, I was able to reproduce the issue. |
|
small update, the problem with the package was that watchdog needed too many file handles. Temporarily raising the limit with |
|
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 |
|
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 |
|
@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 |
|
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 |
Technically you don't need a flake for that as you can manually create and maintain config files with Home-Manager even without a module |
Sounds good! |
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 and this is before i got to testing using programs.steam first log edit: just tested programs.steam and using it did nothing to fix the issue second log from when using programs.steam |
|
Looks like the patcher isn't finding what it wants to patch, is there coincidentally an OOM kill in dmesg? Neither 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 |
|
@shdwmtr your "go here" link in #551 isn't correct and goes to a 404 page |
|
Millennium package is currently broken on Nix, seems like the moving of the Cargo.lock file was only done halfway. In the flake it searches correctly in the new location but in the millenium-src it's still deposited at the old instrumentation/loopback/patch location. See the following error message: |
|
Gonna stick this here again in case people missed it with this being switched to a discussion- there's a PR to get millennium into nixpkgs over here NixOS/nixpkgs#538226. Reacting with a thumbs up doesn't really mean anything over there and isn't going to get it merged faster, if y'all want to help get it merged, test it out, verify everything is working correctly, and report it in that issue. (even just verifying it compiles with nixpkgs-review, then posting the generated report into the PR helps). If you know how, you can verify functionality by setting |
|
Got a bun hash error : error: hash mismatch in fixed-output derivation '/nix/store/k9q74p6s0sp2kdq8saidwf75aww5q2yv-millennium-typescript-bun-deps.drv':
likely URL: (unknown)
specified: sha256-iPdEl5GH0cXjn1EUdYutqxdMwdRXms+eXCEIwZ3xeLY=
got: sha256-mAM2qhb0TOzPosejOcG2VegDkbEmY3JF8lkKgDpVjA0=
expected path: /nix/store/s931g98bm270rfss1vxmpm34kcmknvkc-millennium-typescript-bun-deps
got path: /nix/store/animgvx3wn6i74jhly76yy7n4lc6vbqs-millennium-typescript-bun-deps
error: 1 dependencies of derivation '/nix/store/qlvp8npkwgxpq00xiqb8ajc37jgi63vk-millennium-32-3.4.1.drv' failed to buildI am on main and did not ask for millenium flake to follow nixpkgs, so I don't know why this would happen unless bun is not fixed in millenium flake. |
|
In the nix flake, only the And possibly also maybe using this could help: https://github.com/nix-systems/default. in this case, users of the flake could override the input so they can actually customize the systems |
|
What about integration with cachix? Essentially, you just need to add a binary cache for the flake |
|
Hi, after the recent 3.5.0 update I can't build my NixOS config anymore (https://codeberg.org/terraquad/nixos-tq), I get this build error: How to fix (other than downgrading)? |
|
I just updated my system and, even tho it builds; steam doesn't launch now. |
|
Don't know if anyone knew about this before, if it was obvious, or if it is simply just too niche, but for any asahi nixos users making use use of sm-idk/steam-asahi or anyone else using any other method of getting steam to run on aarch64 which wraps the x86 version of steam, you are able to literally just plug millennium files into steam and have it run properly. A quick sample I wrote which is able to achieve this looks like: let
millennium-bin = pkgs.stdenvNoCC.mkDerivation (finalAttrs: {
pname = "millennium-bin";
version = "3.6.1";
src = pkgs.fetchurl {
url = "https://github.com/SteamClientHomebrew/Millennium/releases/download/v${finalAttrs.version}/millennium-v${finalAttrs.version}-linux-x86_64.tar.gz";
sha256 = "sha256-AhWhl3mtkopTxelHdzBjaSrUCrWheboRlobeUVD7t2M=";
};
dontBuild = true;
installPhase = ''
mkdir -p $out/usr/lib/millennium
tar -xzf $src -C $out
chmod -R a+rX $out/usr/lib/millennium
'';
});
in
{
programs.steam-asahi = {
enable = true;
package = pkgs.steam-asahi.override {
extraEnv = (pkgs.steam-asahi.extraEnv or { }) // {
MILLENNIUM_RUNTIME_PATH = "${millennium-bin}/usr/lib/millennium/libmillennium_x86.so";
};
};
};
systemd.user.tmpfiles.rules = [
"L+ %h/.local/share/Steam/ubuntu12_32/libXtst.so.6 - - - - ${millennium-bin}/usr/lib/millennium/libmillennium_bootstrap_x86.so"
"L+ %h/.local/share/Steam/ubuntu12_64/libXtst.so.6 - - - - ${millennium-bin}/usr/lib/millennium/libmillennium_bootstrap_hhx64.so"
];
}And this has been tested (by me) with a few popular plugins and themes which all seem to work well. |
|
I've merged millennium into nixpkgs. It will be available on the next unstable channel bump and 26.11. You can run it right now with: Thanks @DrymarchonShaun for the hard work. |
|
Do you see the nixpkgs |
|
I noticed Millennium disappeared with yesterday's Steam update, is that a me-problem or it actually happened? |
|
nixpkgs PR updating to the version for the rt3 client was merged into master a bit ago, as per usual it may take a few days to make it to unstable https://nixpkgs-tracker.ocfox.me/?pr=587879 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions