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
factorio: add update script #105296
factorio: add update script #105296
Conversation
d0d5467
to
59ea893
Compare
I'm planning to add Darwin support, which is why it's a bit over-engineered at the moment. I'll do that in a follow-up PR though. |
9adeeaf
to
0c31501
Compare
0c31501
to
cb60467
Compare
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 :)
Also, I'm still running a server: https://discourse.nixos.org/t/factorio-community-server-usa/8622 It's been up this entire time. If you guys would like me to host something, let me know. |
I can't find it on the server list anymore though. Did you update to 1.1.2 already? I'm only seeing 1.1.2 servers. |
I haven't touched since august... looks like it's borked:
|
helps if i open the firewall.... the server is back up |
I don't see it yet. |
It's still running the stable 1.0, if you're running 1.1.2, you wont see it. |
If you want me to do a server restart, I would be happy to do so |
I haven't been playing in a while, and I don't think I will in a while. |
cb60467
to
044866a
Compare
The updateScript knows how to automatically fetch and update the version data from the Factorio versions API (and update the hashes appropriately), which makes it easier to update whenever experimental does.
044866a
to
8a63eaa
Compare
The ping to you makes the game unplayable. Also I wanted to continue my almost 800 hours AB map and bring it to 0.17/1.0. |
Motivation for this change
The updateScript knows how to automatically fetch and update the version
data from the Factorio versions API (and update the hashes
appropriately), which makes it easier to update whenever experimental
does.
To use it "automatically" (from e.g.
nix-shell maintainers/scripts/update.nix
),you'll need to have done the nixpkgs overlay method of providing a
username/token (and these values will not be kept private
in the same way as when evaluating the drv).
The update.py script can also be run manually with a --username/--token
passed.
I also added myself to the list of maintainers :^)
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)