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

add a shell.nix #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add a shell.nix #27

wants to merge 2 commits into from

Conversation

evils
Copy link

@evils evils commented Dec 3, 2022

this makes it a lot easier to set up an environment that has the dependencies
(with Nix installed, one only has to invoke nix-shell and you can run python3 main.py)

i had a bunch more dependencies in this, but removing them seems to make no difference to the startup info
i assume the kivy package supplies most of the ones that are actually needed at runtime

setuptools
gst-python
pillow
SDL2
pkg-config
libGL
gst_all_1.gstreamer
git
mtdev
xsel

i don't have a smoothieboard at hand yet to confirm any functionality beyond starting smoopi though

@evils
Copy link
Author

evils commented Jan 5, 2023

tested this, seems to work

i also added a shebang to, and made main.py executable
so now usage is as simple as nix-shell --run './main.py'

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.

1 participant