SteamDeckHomebrew / decky-loader

A plugin loader for the Steam Deck.
https://decky.xyz
GNU General Public License v2.0
4.25k stars 154 forks source link

[needs websockets] Add development flake file #620

Closed PartyWumpus closed 1 month ago

PartyWumpus commented 1 month ago

Please tick as appropriate:

If you're wanting to update a translation or add a new one, please use the weblate page: https://weblate.werwolv.net/projects/decky/

Description

Adds a flake.nix file so developers can get all relevant dependencies by just typing nix develop. Uses poetry2nix so all python deps will get installed at the correct versions without needing to update the flake. It's currently set up to build each python library from source instead of using the wheel but this can be changed if preferable. Possibly an issue is that the env is not automatically updated when new deps are added, it must be restarted. Also the way pyright is working is a bad solution.