Skip to content

Commit dfcb231

Browse files
committed
Fix Stack build with Nix on macOS
1 parent b689abb commit dfcb231

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

flake.nix

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,11 @@
291291
# ormolu
292292
# stylish-haskell
293293
pre-commit
294-
];
295-
294+
] ++ lib.optionals stdenv.isDarwin
295+
(with darwin.apple_sdk.frameworks; [
296+
Cocoa
297+
CoreServices
298+
]);
296299

297300
shellHook = ''
298301
# @guibou: I'm not sure theses lines are needed

0 commit comments

Comments
 (0)