-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose two templates: default
and example
#69
Conversation
`nix run nixpkgs#nixpkgs-fmt`
README.md
Outdated
|
||
|
||
``` nix | ||
nix flake init -t github:srid/haskell-flake#flake-only |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One problem here is that this will generate a flake.nix
hardcoded to use example.cabal
. But resolving #49 would obviate this issue as we no longer have to specify the package name in the flake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
example
is not a terrible placeholder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#default
-> flake only#example
-> full example project
default
and example
default
and example
default
and example
Closes #66
Already existing Haskell projects can use this template to avoid creating example.cabal and src/Main.hs during initialization.