• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • If you want to use nix develop without flakes, you can use nix develop -f shell.nix. The benefit of flakes (or, well, pinning your nixpkgs for the project in general, flakes just make this easy) is that you can at any time in the future come back to the project and get a working setup instead of an incompatible Node version.

    (Though, I use flakes for my projects but often tell direnv to override nixpkgs with the system nixpkgs when evaluating the shell so everything is in sync (with the --override-input nixpkgs nixpkgs option). Mostly because it means less duplicate downloads and libraries in the store.)