on 4e100b2 help sign in
27 lines 652 B history raw
1# Making changes to Hix
3When making changes to the way Hix works it is often useful to be able to
4test the changes locally before uploading them to github.
6## Hix Command Wrappers
8Install the hix command wrappers after making changes to a local clone of haskell.nix:
10```
11nix-env -iA hix -f /path/to/local/haskell.nix
12hix-shell
13```
15Or override the version of haskell.nix used by the commands with the `HIX_ROOT` environment variable:
17```
18HIX_ROOT=/path/to/local/haskell.nix hix-shell
19```
21## Flakes
23For flakes use `--override-input` to point to the modified haskell.nix:
25```
26nix develop --override-input haskellNix /path/to/local/haskell.nix
27```