2 ms·
Ah, in terms of just instantiating a template, the nix flake templates are going to be oriented around using nix. A flake.nix file is roughly comparable to a D
by rgoulter 4y ago
Ah, in terms of just instantiating a template, the nix flake templates are going to be oriented around using nix.
A flake.nix file is roughly comparable to a Dockerfile. With a Dockerfile, you're describing how to build an image that can be deployed in Docker runtimes. With nix, you're describing how nix can build the package.
A neat side-effect of this is that if you've got a nix file which can build the package, nix will be able to provide the toolchain used to build the package. (Whereas rustup more specifically provides the rust toolchain).