tdback on Nostr: nprofile1q…9x0kw great question! You can definitely use a shell.nix file, but ...
nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq63vtgc4j557t9pttxjxakv9vdmk442qdg70ghgdtad45y4tpssjqt9x0kw (nprofile…x0kw) great question! You can definitely use a shell.nix file, but remember to add "use nix" to your envrc file so direnv knows how to load it. The example I provide uses a nix flake, which offers several benefits, such as caching nix evaluations, the ability to pin dependency versions in a lock file, and enforcing a uniform schema for declaring package builds and dependencies. Although still marked as an experimental feature, I use flakes throughout all of my projects and for configuring my systems. If you're curious, I recommend reading through the wiki page: https://wiki.nixos.org/wiki/Flakes