Skip to content

Conversation

@machshev
Copy link

Nix flake makes it easier to develop on NixOS and doesn't impact anyone else. Although it's possible to use the same nix flake on other distros by installing nix. This can be used manually with nix develop to enter a dev shell with all the required dependencies.

The nix flake is declarative config that tells nix which dependencies are required to build the firmware. I was able to build and update my rusty-probe on NixOS using the dependencies provided by this flake.

Direnv config makes it easier for people using direnv. Once the user approves the config on their machine (after reading the script), it automatically loads the flake devshell when you enter the directory. This is really convenient for quick development.

Nix flake makes it easier to develop on NixOS. The direnv config loads
the flake for extra convenience.

Signed-off-by: David James McCorrie <djmccorrie@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant