aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 7198b97..39a79f8 100644
--- a/default.nix
+++ b/default.nix
@@ -1,5 +1,13 @@
{ pkgs ? import <nixpkgs> {
- overlays = [ (import ./pkgs) ];
+ overlays = [
+ (import ./pkgs)
+ (self: super: {
+ anissue = pkgs.writers.writeDashBin "anissue" ''
+ set -efu
+ exec cabal run anissue -- "$@"
+ '';
+ })
+ ];
}
}:
@@ -43,6 +51,7 @@ rec {
haskellPackages.hlint
haskellPackages.ormolu
haskellPackages.pointfree
+ pkgs.anissue
pkgs.ghcid
pkgs.haskell-language-server
] ++ anissue.passthru.dependencies;