Closed joepie91 closed 4 years ago
related discussion: https://github.com/NixOS/nixpkgs/issues/1455
The current best practice is using wrapGAppsHook
see https://nixos.org/nixpkgs/manual/#ssec-gnome-common-issues
@jtojnar I'm running into this problem too. It looks like lutris already uses wrapGAppsHook
could it possibly be missing something else?
@jtojnar Sorry never mind, I tried building it directly from master and it seems to be fixed.
However, it looks like the fix was submitted 5 months ago (8f6882bb4cf), is there a reason why the hydra cache for https://nixos.org/channels/nixos-unstable would still be out of date?
the unstable release usually lags a few days to a week, but 5 months doesn't seem right at all.
The current unstable release is only 2 days behind https://releases.nixos.org/nixpkgs/nixpkgs-20.09pre231837.2cd2e7267e5 . What's more likely is that you have 2 different channels.
try doing:
nix-channel --list
sudo nix-channel --list
they will likely be different
@jonringer Sorry again, I incorrectly assumed that hydra cache was out of date. Looking into it further I found that it only works inside my Emacs environment created with buildEnv
. Outside my Emacs environment it fails, even with the latest version. It seems like the lutris derivation is not explicitly including a required dependency.
For file dialog you will need gtk3
package, looks like it is missing in the buildInputs
.
The strictDeps
warning might also be relevant as lutris is python app https://nixos.org/nixpkgs/manual/#ssec-gnome-hooks-gobject-introspection.
@jtojnar Thank you, adding gtk3
as a buildInput fixes the problem. Where do you see a strictDeps
warning though? Setting strictDeps
to false doesn't change the build or run output for me (except for timestamps and hashes).
By warning, I mean the yellow box in the document I linked.
is it normal to have huge evaluation times for lutris-unwrapped
? taking me >10mins test changes
@jonringer Hmm, that's weird, it only about 5 seconds on my machine.
subsequent calls are pretty fast, but the initial .drv took about 10 mins to evaluate
Describe the bug When attempting to open a file selection dialog of some sort, Lutris reproducibly crashes. This is necessary for some installers, which eg. expect you to supply your own installer file.
To Reproduce Steps to reproduce the behavior:
lutris -i repro.yaml
(see below forrepro.yaml
contents)repro.yaml
:Expected behavior Should produce a file selection dialog
Screenshots
Additional context Desktop environment: KDE Plasma. Guessing this is yet another GNOME library break.
Notify maintainers
@Chiiruno
Metadata
"x86_64-linux"
Linux 5.4.46, NixOS, 20.03.2157.db31e48c5c8 (Markhor)
yes
no
nix-env (Nix) 2.3.6
""
"nixos-20.03.2157.db31e48c5c8"
/nix/var/nix/profiles/per-user/root/channels/nixos
Note: I am using Lutris installed from
unstable
. Lutris on the20.03
branch is differently broken, and just gets stuck on trying to connect to lutris.net, when trying to run the repro case. However, since the "Browse..." button for GOG installation directories works fine there, I suspect that it's onlyunstable
which has this issue.Maintainer information: