aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-15 15:39:02 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-15 15:45:37 +0530
commit1d07e554284593cdca804404d1d9f68a473ee986 (patch)
tree6f90288426699384cdb85cfdca4a036c3da1e51c /flake.nix
parent0c6b8c83e8673b394914e1f824dfb887b762b0ee (diff)
downloadchelleport-1d07e554284593cdca804404d1d9f68a473ee986.tar.gz
chelleport-1d07e554284593cdca804404d1d9f68a473ee986.zip
Refactor a bunch of stuff
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index ead8307..e5ba93a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -7,13 +7,16 @@
outputs = inputs@{ self, nixpkgs, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.systems.flakeExposed;
- imports = [ inputs.haskell-flake.flakeModule ];
+ imports = [
+ inputs.haskell-flake.flakeModule
+ ];
perSystem = { self', pkgs, lib, config, ... }: {
haskellProjects.default = {
projectRoot = builtins.toString (lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
+ ./bin
./src
./specs
./chelleport.cabal
@@ -25,7 +28,7 @@
devShell = {
# tools = hp: { fourmolu = hp.fourmolu; ghcid = null; };
- hlsCheck.enable = pkgs.stdenv.isDarwin;
+ hlsCheck.enable = false;
};
autoWire = [ "packages" "apps" "checks" ];
@@ -40,7 +43,7 @@
];
packages = with pkgs; [
just
- haskellPackages.hspec-golden
+ nodemon
];
};
};