Skip to content
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

Combine Dev Shells & Fix Pure Build #1761

Merged
merged 2 commits into from
Jan 27, 2025
Merged

Combine Dev Shells & Fix Pure Build #1761

merged 2 commits into from
Jan 27, 2025

Conversation

psionic-k
Copy link
Contributor

This version includes everything necessary to build inside a pure container with just a working nix installation.

nix develop
make sdl2
make sdl

Since the extra stuff for ncurses or SDL isn't very big, it makes sense to only use one dev shell with a bit of redundancy. Users won't have to remember to switch shells. nix develop is easier to remember.

SDL2 is not very heavy to include for all users.  This way, no switching shells
is necessary to build Lem or LemSDL2

pkg-config is a requirement.

Including packages in the LD_LIBRARY_PATH list does not appear to run the
pkg-config hook, so anything where pkg-config is run needs to be in the package list.
Most systems already have this, but it's pretty cheap to make sure.  Not relying
on any incidental resources is the Nix way.
@cxxxr cxxxr merged commit 453d0b9 into lem-project:main Jan 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants