From bc2dcee3a131084ce99b6069b5202ef0e5af1b2b Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 7 Jul 2021 13:48:07 -0400 Subject: [PATCH] try with the Haskell.nix-recommended shell.nix --- shell.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/shell.nix b/shell.nix index b474e00..72dc0e0 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,9 @@ -{ pkgs ? import <nixpkgs> { } }: -pkgs.mkShell { - buildInputs = [ - pkgs.stack - ]; -} +# shell.nix +let + project = import ./default.nix; +in + project.shellFor { + # Prevents cabal from choosing alternate plans, so that + # *all* dependencies are provided by Nix. + exactDeps = true; + } -- GitLab