From bdd135025466fc82fbc88a46043c53ec28930979 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 19 Apr 2023 15:06:23 -0400 Subject: [PATCH] Update haskell-flake --- flake.lock | 6 +++--- flake.nix | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index b17437e..cec0e12 100644 --- a/flake.lock +++ b/flake.lock @@ -35,11 +35,11 @@ }, "haskell-flake": { "locked": { - "lastModified": 1680963459, - "narHash": "sha256-amqQMQi8D8dACHR717LcZ3X51Vg4UJqHtlQLJbCjV8c=", + "lastModified": 1681930822, + "narHash": "sha256-VKTGW5oydw6vZpGuqeBO7zFnl0t+BedxO0U/o0BVE/U=", "owner": "srid", "repo": "haskell-flake", - "rev": "c74e7c596792e0baf5cd22a9fd0f213e05679b7a", + "rev": "4e8e79b9b4f274f518dcc27f4e980d9f421c88a4", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 456b61c..e50e065 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,7 @@ } // config.treefmt.build.programs; hlsCheck.enable = true; }; - autoWire = false; # Enables us to wire flake outputs manually. + autoWire = [ "packages" "apps" "checks" ]; # Wire all but the devShell }; # Auto formatters. This also adds a flake check to ensure that the @@ -90,9 +90,7 @@ }; # Default package. - packages.default = config.haskellProjects.default.outputs.localPackages.haskell-template; - - checks = config.haskellProjects.default.outputs.checks; + packages.default = self'.packages.haskell-template; # Default shell. devShells.default = pkgs.mkShell {