Skip to content

Commit

Permalink
Add flake template
Browse files Browse the repository at this point in the history
A start at #120
  • Loading branch information
srid committed Jul 23, 2024
1 parent 13fe044 commit 66c0fc7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
inputs.treefmt-nix.flakeModule
inputs.fourmolu-nix.flakeModule
];

# TODO: Remove this. Only relevant for github:srid/haskell-template
flake.templates.default = {
description = "A batteries-included Haskell project template for Nix";
path = builtins.path { path = inputs.self; };
};

perSystem = { self', lib, config, pkgs, ... }: {
# Our only Haskell project. You can have multiple projects, but this template
# has only one.
Expand Down

0 comments on commit 66c0fc7

Please sign in to comment.