-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
steamtinkerlaunch: Missing xxd
dependency and write protections
#226086
Comments
But why is there a write protect error? |
@r-ryantm you contributed the latest update for this, do you have any ideas as to why steamtinkerlaunch is having write protect issues? |
It's write protected because the Nix store is read-only. And the script doesn't know how to account for that. |
there is still value to packaging, nixos is not the only environment that can consume this script, and you are welcome to provide a patch to fix it |
The problem is unfixable with a read only Nix store. |
Aren't there build options to make packages writeable? According to home-manager, nix-build can accept the |
Did you happen to get STL to work outside of nixpkgs? A flake, maybe? |
btw @urandom2, is the message about |
Yes. I installed it through ProtonUp-QT's flatpak. |
need to spend some time to read through the source to be sure, but that is my gut; xxd is definitely in |
i'm spending some time on finding out where in the source lang files are created and deleted. it may be a nix store thing, and maybe a substitution can be done to preserve write permissions, or to skip deletion entirely. |
It's a nix store thing. |
sonic2kk/steamtinkerlaunch#822 (comment)
I think I may have an idea, but how to patch that I don't really know. Maybe we can use something like |
I've put in a PR here just in case to address the write permissions issue. Basically, it adds write permissions to the language files before and after it's updated. sonic2kk/steamtinkerlaunch#824 Just keeping y'all up to speed |
@jakehamilton thanks for these notes! https://gist.github.com/jakehamilton/632edeb9d170a2aedc9984a0363523d3 @urandom2, do you think that |
SteamTinkerLaunch maintainer here 👋 It's nice to see all the discussion here, first of all! Thanks a bunch to @garaiza-93 for the PR. Just wanted to mention that if there is anything that can be done on my end to help improve packaging for Nix (i.e. anything to fix dependencies not being found), please feel free to open an issue, or a PR if you have a general improvement/fix in mind (or both!) - There is no pressure for anyone to contribute, just getting the word out that I am very happy to help any communities around STL where I can. That line on the readme "Many thanks to all package maintainers" isn't just for show ;-) |
Closing in favour of #295902 where I've identified the root causes and discussed some solutions. |
Describe the bug
According to logs, the
xxd
dependency is missing.Additionally, write protections on files within
lang/
can make steamtinkerlaunch look "stuck" when reallyrm
is waiting for user input.Steps To Reproduce
Steps to reproduce the behavior:
steamtinkerlaunch compat add
to add it as a compatability tool.steam
in a terminal.steamtinkerlaunch
in the game's Properties.rm: remove write-protected regular file '/home/user/.config/steamtinkerlaunch/lang/english.txt'?
Expected behavior
xxd
dependency included OOTB.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I tested this on Fallout: New Vegas, and Skyrim Special Edition.
Notify maintainers
@urandom2
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: