Skip to content
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

Merged
merged 10 commits into from
Feb 10, 2023
Merged

Conversation

shivaraj-bh
Copy link
Contributor

Closes #66

Already existing Haskell projects can use this template to avoid creating example.cabal and src/Main.hs during initialization.

README.md Outdated


``` nix
nix flake init -t github:srid/haskell-flake#flake-only
Copy link
Owner

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.

Copy link
Collaborator

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.

Copy link
Owner

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

@srid srid changed the title Added templates.flake-only Add two templates: default and example Feb 10, 2023
@srid srid changed the title Add two templates: default and example Expose two templates: default and example Feb 10, 2023
@srid srid merged commit 3a51540 into srid:master Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create templates.flake-only that includes flake.nix only
3 participants