hyprspace/docs/content/development/hacking.md
Max ade67e761d
Documentation refactor (#103)
* docs: switch to ndg

* flake.lock: Update

Flake lock file updates:

• Added input 'ndg':
    'github:feel-co/ndg/d678855cdd0385b1bd78adf3456d072642317d6a?narHash=sha256-gJcybEQZa5Jdh3MSgvGLqiqQFRTZ3IxQFvVIsJecbno%3D' (2026-04-14)
• Added input 'ndg/nixpkgs':
    'https://releases.nixos.org/nixos/unstable/nixos-26.05pre972949.6201e203d095/nixexprs.tar.xz?lastModified=1775036866&narHash=sha256-ByAX1LkhCwZ94%2BKnFAmnJSMAvui7kgCxjHgUHsWAbfI%3D&rev=6201e203d09599479a3b3450ed24fa81537ebc4e' (2026-04-01)
2026-04-16 21:33:58 +01:00

707 B

Hacking

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 config-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