-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Add a Nix flake along with a package derivation (default.nix) and dev shell (shell.nix). Update hotglsl. #950
Merged
mitchmindtree
merged 18 commits into
nannou-org:bevy-refactor
from
mitchmindtree:nix-flake
Jan 25, 2024
Merged
Add a Nix flake along with a package derivation (default.nix) and dev shell (shell.nix). Update hotglsl. #950
mitchmindtree
merged 18 commits into
nannou-org:bevy-refactor
from
mitchmindtree:nix-flake
Jan 25, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mitchmindtree Just had to do this for bevy which was kinda annoying e5fcbe9. The simplest fix would be a composite action but I could be convinced to run nix in ci. ^^ |
JoshuaBatty
approved these changes
Jan 17, 2024
mitchmindtree
force-pushed
the
nix-flake
branch
from
January 18, 2024 06:01
90ecbd4
to
2194638
Compare
mitchmindtree
force-pushed
the
nix-flake
branch
2 times, most recently
from
January 21, 2024 08:49
e528952
to
1551b42
Compare
mitchmindtree
force-pushed
the
nix-flake
branch
from
January 21, 2024 08:52
1551b42
to
6ea89b4
Compare
OK I've had a go at simplifying the CI a little and added a "Nix Shell" contributing chapter! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These can be ignored by most users, but will be useful for Nix folks and may help to simplify our CI a little.
The default.nix can also be used as a CI-checked reference of what system dependencies and env vars are required on Linux and macOS.
Tested successfully on
x86_64-linux
andaarch64-darwin
.TODO
bevy-refactor
branch.Contributing.md
about Nix.The
hotglsl
crate was updated to 0.2 in order to switch from theglsl-to-spirv
crate to the pure-Rustnaga
removing the need for some system deps like libclang.