From dfcb23169c5794cb314a39eb4d6fa028127d548f Mon Sep 17 00:00:00 2001 From: lunaticare Date: Sun, 10 Jul 2022 18:22:19 +0100 Subject: [PATCH] Fix Stack build with Nix on macOS --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e8a18c1ad5..bcd4e28dba 100644 --- a/flake.nix +++ b/flake.nix @@ -291,8 +291,11 @@ # ormolu # stylish-haskell pre-commit - ]; - + ] ++ lib.optionals stdenv.isDarwin + (with darwin.apple_sdk.frameworks; [ + Cocoa + CoreServices + ]); shellHook = '' # @guibou: I'm not sure theses lines are needed