-
-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lutris: init at 0.4.18 #42075
lutris: init at 0.4.18 #42075
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This should work for the most part, although native Steam client won't be accessible. |
Oh, have you tested if external emulators (say, SNES9x) installed either in user or system profile work? |
Any plan to maybe integrate a patch, that calls |
There's no need, because it runs in a FHS environment that tolerates ELF headers of downloaded Wine installations. |
Ahh! Nice! I did not saw that, then it is really nice :) |
The native steam client should be possible by adding steam-runtime-native to the FHS environment IIRC. Sorry, I guess I pushed a somewhat broken commit in my excitement. |
Again, a lot of the trouble probably stems from this:
|
Oh wait hang on, after restarting the program a lot of my games show up, will test. |
Okay, will probably have to pull dependencies like X. |
It seems regardless of distro, Lutris needs a restart for my games to properly show up, at least when syncing from the lutris website. I don't think that's related to anything you've done. |
This is a big project with a lot of "unknown" dependencies. |
@tenten8401 Could you give more detail about that error please? |
Looks like for some reason it couldn't find the utility to make an sha1sum
and proceeded to try and wipe any install files it made in /tmp
…On Fri, Jun 15, 2018, 3:50 PM チルノ ***@***.***> wrote:
@tenten8401 <https://github.com/tenten8401> Could you give more detail
about that error please?
Does something need to be added into the target packages?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF42h5BWEGG82QnVQRsRpjsPXRTkUTQnks5t9BAHgaJpZM4Up9vv>
.
|
What package is sha1sum part of? Isn't it bin or coreutils? |
I think it's coreutils, could be wrong
…On Fri, Jun 15, 2018, 3:53 PM チルノ ***@***.***> wrote:
What package is sha1sum part of? Isn't it bin or coreutils?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF42h9kRVLZwbpiTKNEzJRtn4DIsuIimks5t9BCygaJpZM4Up9vv>
.
|
Could you test it out? I don't have BF1. |
You don't need BF1 to test it I don't think, I haven't even gotten to the
part where I enter my origin login. I'll give it shot shortly.
…On Fri, Jun 15, 2018, 3:55 PM チルノ ***@***.***> wrote:
Could you test it out? I don't have BF1.
Just add coreutils to targetPkgs = pkgs: with pkgs; with xorg; [
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF42h3avWAH5U0N0jdgTPuamRIlN79BRks5t9BEkgaJpZM4Up9vv>
.
|
Okay, that commit should at least make this somewhat usable. |
@Chiiruno |
Seems like sha1sum is actually a winetricks dependency rather than a lutris
dependency. Lutris ships it's own build of winetricks with the client.
Also, just a PSA: I'd test out the lutris package in a VM, as it seems like
winetricks doesn't like it when it's missing dependencies and seems to have
wiped my /home folder, last screenshot I uploaded seems to be related, as
lutris doesn't use RM through bash.
Currently running testdisk on my drive to see if I can recover it. Looks
like most of the files are recoverable however since nothing else got
written before I shut my computer off.
Again, seems to be related to winetricks, not lutris.
…On Fri, Jun 15, 2018, 8:00 PM Yegor Timoshenko ***@***.***> wrote:
@Chiiruno <https://github.com/Chiiruno> export
QT_QPA_PLATFORM_PLUGIN_PATH=$(nix-build '<nixpkgs>' -A
qt5.qtbase)/lib/qt-5.10/plugins/platforms will likely help (could be part
of buildFHSUserEnv runScript).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF42h0X8IugX5yFYT5-b1n4EL28Udf-Tks5t9EqHgaJpZM4Up9vv>
.
|
@yegortimoshenko I'm afraid I've tried many variations of that already, thanks for the heads-up though. |
Pretty sure everything meaningful has already been backed up to gitlab,
aside from a few things that could probably be reconstructed.
…On Fri, Jun 15, 2018, 8:21 PM チルノ ***@***.***> wrote:
@yegortimoshenko <https://github.com/yegortimoshenko> I'm afraid I've
tried many variations of that already, thanks for the heads-up though.
@tenten8401 <https://github.com/tenten8401> I'm sorry to hear that, I
hope my package didn't cause you any permanent damage.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42075 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF42hwv-NfQyHf_J3-b-ZRm46Z7rY5_Iks5t9E-dgaJpZM4Up9vv>
.
|
I'm not sure there's a lot more I can do to improve this package, any idea? |
scratch that, just realized that makeWrapperArgs is a parameter of buildPythonApplication. Hmm. |
Alright, I'm at the point where my lack of knowledge of the Nix package management system is what's stopping me from working on this further. I'd be willing to send $10 PayPal to anyone who can successfully get this package fully working as intended, since I think this point we're basically stuck on Lutris versions of Wine not being able to find the libraries correctly. |
#44047 may be a possible fix for the QT issues. |
While trying to install Portal 1:
Which sounds pretty bad.. Seems like we don't have a chance for this to ever work reliably, because we need to run everything in a chroot to begin with. |
So there's nothing we can do? |
The problem here is that Steam package and Lutris both use There might be intricate ways of dealing with this issue (making |
Has anyone tried it with a kernel with |
@colemickens Hmm I thought it was enabled, even by default, but now I'm not so sure anymore. I originally interpreted the But now I'm also confused even more, because in the man page on user namespaces they clearly mention that they can be nested up to 32 levels deep. I guess |
@colemickens It's on for NixOS users unless one uses hardened kernel:
@infinisil Good find! Now we should try to understand why it fails to unshare the second time. Source code for reference: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c |
I’m also wiling to chip in 10 € for a box of beer. |
It doesn't work for me anymore. |
@JohnAZoidberg that's related to #49048 |
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/request-nixos-steam-for-dummies/1428/5 |
"--prefix LD_LIBRARY_PATH : ${fullPath}:$out/lib" | ||
"--set GI_TYPELIB_PATH $GI_TYPELIB_PATH" | ||
"--prefix XDG_DATA_DIRS : $out/share" | ||
"--suffix XDG_DATA_DIRS : $XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GSETTINGS_SCHEMAS_PATH will be also set automatically by wrapGAppsHook
when glib gnome3.gsettings_desktop_schemas
are in buildInputs
: https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/rambox/default.nix#L33
would be great to have a FOSS alternative at steam. Any update ? |
Would a similar approach work for GameHub, or did anyone tried to package it ? |
What are the issues with this PR? |
we may want to update the PR at least -- using the present one I just ran into lutris/lutris#967. |
trying to update it, but still figuring out how to expose
|
@tycho01 that might come from a version mismatch, you can fetch a requests from master or patch the setup.py with the hope it works. |
It seams that the only conflicting files on this PR is on the top-level packages file. Any updates on the PR other than that ? |
I've rebased and updated that PR at #61742 and fixed Steam too. I noticed that some people offered bounty for this but I'm here just for the fun ;) |
Closed in favor of #61742 |
Motivation for this change
Steam-like program for keeping games in order and easily accessible.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)