Repository navigation
build(nix): add flake with package, app, & devShell - #66
Conversation
|
I can't thank you enough! I switched to Nix two days ago, and this was something I really wanted to do. Before I merge it, could you please confirm if it's written correctly? I'm asking because I don't really understand how flakes work yet. Other than that, do you have any tips for someone who's new to Nix? |
|
I'm pretty sure it's written correctly. When I used I still have it hosted on my github publicly, so if you want to check it out you can use As for tips for someone just starting out:
Footnotes
|

I created a nix flake using flake-parts with a package, app, and devShell.
I added .envrc to enable devenv for automatically loading the devShell for those who use it.
I've tested the tool on my local system. I'm running NixOS unstable. I do not have access to a MacOS device, so I did not add "aarch64-darwin" to the
systemsarray inflake.nix.