Skip to content

Add NixOS Dev Environment Support #35

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

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

dakota-marshall
Copy link
Contributor

  • Add necessary flake files to allow for a NixOS development environment.
  • Update the TagStudio.sh bash script to use /usr/bin/env bash instead of /bin/bash to allow NixOS to run it.
  • Update README.md with documentation on running the Nix environment.

Can now run nix develop on Nix, and then can run the TagStudio script and the application will launch as expected.

Let me know if anything needs fixing!

Note to any Nix people: The way I setup the environment is probably needlessly obtuse, but I got the app launching. This can probably be a lot simpler if someone has a smarter way of doing it.

@dakota-marshall dakota-marshall marked this pull request as draft April 24, 2024 20:33
@dakota-marshall
Copy link
Contributor Author

Broken when attempting to use python 3.12 after the update, will fix then it will be ready again.

@dakota-marshall dakota-marshall marked this pull request as ready for review April 24, 2024 20:53
@dakota-marshall
Copy link
Contributor Author

Had to update the pinned hash to use QT 6.6.3 instead, and installed python 3.12 into the environment, now working as expected.

@CyanVoxel CyanVoxel self-assigned this Apr 24, 2024
@CyanVoxel CyanVoxel merged commit ad6fefb into TagStudioDev:main Apr 25, 2024
@CyanVoxel CyanVoxel added this to the NixOS Support milestone Jun 7, 2024
@dakota-marshall dakota-marshall deleted the nixos-support branch June 27, 2024 04:00
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