Skip to content

Conversation

MichaelFisher1997
Copy link

This is a Nix Flake for NixOS and anyone with nix package manager installed on their system.

It allow people to enter into the flake dev shell as followed:
nix develop and it will install all the listed dependencies to build and run redot avoiding the pain of having to workout what dependencies you need to install and what missing.

@MichaelFisher1997
Copy link
Author

might need a get job thats a container with nix that can do the following

nix develop
scons platform=linuxbsd

@theoparis theoparis mentioned this pull request Oct 7, 2024
2 tasks
@MichaelFisher1997
Copy link
Author

closed as theoparis still links to this as a reference but that one should be used going forward

@SkogiB
Copy link
Contributor

SkogiB commented Oct 27, 2024

We working with this one now? We are not sending PRs up to Godot by default at this time, due to a reassessment in the core team, so we can start looking at stuff like this soon.

@MichaelFisher1997
Copy link
Author

I spoke to McDubh about adding this one in for now a few days ago so i reopened it.
A lot of people have been asking for it.
I know this one works for NixOS and Nix on other linux distros, the PR that expands on this, has support for things like Mac hardware and Arm so that can be added in a little later down the road.
(I do actually have a couple people With Macs that said they will help and test it)

But yeah theirs no rush on it

@phanirithvij
Copy link

just a suggestion, you can rebase instead of adding all these merge commits.

@Arctis-Fireblight
Copy link
Contributor

Hi @MichaelFisher1997 ,
I am a relatively new maintainer here, and am going back through all of the old PRs.
I see there are a few PRs here related to Nix packaging. While I am somewhat familiar with what Nix is, this is not my area of expertise.
Would you mind explaining your intended use case with this to better help myself and the rest of the team better understand what the benefits of providing upstreamed package definitions?
We are looking to make a final decision regarding this trio of PRs shortly. ( #954 , #247 , #154 )

@MichaelFisher1997
Copy link
Author

The flake I opened last year isn’t a full dev setup yet. Right now you can nix develop and run scons manually, it pulls in all the dependencies so the build is reproducible and avoids the usual dependency issues. It still needs updating so nix build .#build (or nix run .#build) will do the full build in one step. At the time quite a few people seemed interested, but I’ve not heard much since. I’ve now got a new PC that can actually handle compiling it properly, so I can revisit this and finish it off if there’s still interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants