From f4372e99ce56d9b9c56dae0e67795432499e2ac6 Mon Sep 17 00:00:00 2001 From: Fiscal Velvet Poet Date: Tue, 23 Jan 2024 15:25:13 +1000 Subject: [PATCH] nix: overwrote devShells from haskell-nix resolves #6 --- outputs.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/outputs.nix b/outputs.nix index a38fb63..774db6e 100644 --- a/outputs.nix +++ b/outputs.nix @@ -17,13 +17,14 @@ }; flake = pkgs.hsPkgs.flake { }; in - flake // { + { packages.default = flake.packages."skeleton-web:exe:site"; apps.default = { type = "app"; program = "${flake.packages."skeleton-web:exe:site"}/bin/site"; }; - devShell = pkgs.callPackage ./shell.nix { + # Overwrite devShells being inported from haskell-nix + devShells.default = pkgs.callPackage ./shell.nix { inherit (haskellNix.legacyPackages."${pkgs.system}") stylish-haskell; }; }