haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

Fix #1558: add flake template for `nix flake init`

Open yvan-sraka opened this issue 3 years ago • 2 comments

This depends on https://github.com/NixOS/templates/pull/40

This issue makes both nix run haskell-nix#hix -- init and nix flake init --template haskell-nix#template --impure do the same thing!

yvan-sraka avatar Aug 08 '22 08:08 yvan-sraka

I should follow guidelines defined here https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-flake-init.html#template-definitions in https://github.com/NixOS/templates/pull/40

yvan-sraka avatar Aug 18 '22 08:08 yvan-sraka

Might be worth including the bash stuff in the docs in document tests. It's not actually testing anything in this repo except the documentation itself, but it would still be nice. Maybe we could also have it check that the flake.nix matches the hix init one?

hamishmack avatar Oct 07 '22 02:10 hamishmack