Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Feb 14, 2024
1 parent af1a7f5 commit af7fce4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 27 deletions.
2 changes: 1 addition & 1 deletion ema-template.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ executable ema-template
build-depends:
, aeson
, async
, base >= 4 < 5
, base >= 4 && < 5
, blaze-html
, blaze-markup
, containers
Expand Down
26 changes: 6 additions & 20 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
flake-root.url = "github:srid/flake-root";
proc-flake.url = "github:srid/proc-flake";
treefmt-nix.url = "github:numtide/treefmt-nix";
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
fourmolu-nix.url = "github:jedimahdi/fourmolu-nix";

ema.url = "github:srid/ema";
Expand All @@ -22,6 +23,7 @@
inputs.flake-root.flakeModule
inputs.proc-flake.flakeModule
inputs.treefmt-nix.flakeModule
inputs.fourmolu-nix.flakeModule
];
perSystem = { self', config, inputs', pkgs, lib, ... }:
let
Expand Down Expand Up @@ -55,12 +57,6 @@

# We use fourmolu
programs.fourmolu.package = config.fourmolu.wrapper;
settings.formatter.ormolu = {
options = [
"--ghc-opt"
"-XImportQualifiedPost"
];
};
};

fourmolu.settings = {
Expand Down

0 comments on commit af7fce4

Please sign in to comment.