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 shell.nix to facilitate execution on nixos and nix enabled distros #104

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

Commits on May 27, 2024

  1. Remove unneeded dep

    RCasatta committed May 27, 2024
    Configuration menu
    Copy the full SHA
    9133035 View commit details
    Browse the repository at this point in the history
  2. Add shell.nix

    With this on nixos the server can be launched with:
    
    ```sh
    nix-shell --command ./otsd
    ```
    
    Approach suggested https://wiki.nixos.org/wiki/Python
    
    In comparison to the requirements.txt we are not specifying exact
    version for each lib, in case of incompatibility deps must be packaged
    like suggested in the mentioned guide.
    RCasatta committed May 27, 2024
    Configuration menu
    Copy the full SHA
    7ae2b93 View commit details
    Browse the repository at this point in the history