Development

Developer Environment

Hyprspace is built with Nix. The Hyprspace flake includes a devShell with all the tools needed for development.

To use it, simply run:

$ nix develop

You can also use direnv.

$ direnv allow  

Building

To build Hyprspace for testing during development, you first need to generate the Configuration Schema code. This is always done automatically upon entering the devShell. If you made changes to the config schema, you can regenerate the Go code (requires Nix):

$ go generate ./schema

Then you can build the binary as usual:

$ go build
Links to this page