-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
Added support for Factorio's experimental branch. #33957
Added support for Factorio's experimental branch. #33957
Conversation
pkgs/games/factorio/default.nix
Outdated
@@ -14,19 +15,38 @@ let | |||
|
|||
# NB If you nix-prefetch-url any of these, be sure to add a --name arg, | |||
# where the ultimate "_" (before the version) is changed to a "-". | |||
experimentalOrFinal = if experimental then "experimental" else "final"; |
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.
The variable could be named branch
or something.
Also, the website uses the following terms:
Latest releases
Stable: 0.15.40
Experimental: 0.16.16
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.
I've made the changes you suggested.
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.
@jtojnar Is there any remaining issues?
LGTM except the commit messages don't comply with CONTRIBUTING.md. The number of variations and the very idea of "alpha-experimental" vs "alpha-stable" are getting a bit mad, but I suppose that's upstream's doing. |
ca28595
to
0872948
Compare
@elitak I squashed the commits and in the process believe I've sorted the commit message. |
No. I just don't have merge privilege. Update the version again and push, and hopefully it will get noticed this time. I'll tag a maintainer if it doesn't. |
No, this looks good to me, but I also don't have merge privilege. |
…to 0.16.24. Supports the experimental and stable branches of Factorio with a new configuration option "experimental".
0872948
to
7229066
Compare
Done. |
@joachifm Is it possible for this to also make it into 17.09 as well please? |
You can cherry-pick (with |
Motivation for this change
Factorio has a normal release version and an experimental release version, it would be nice if NixOS had support for both.
Things done
I've added a level of nesting to the original Factorio nix file so that it supports platform, release type and now also experimental/final. Additionally I added a
factorio-experimental
top level package so that it's more easily installed.Ideally this would also make it into the 17.09 branch.
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)