From cf3a42d8208668f053abe5fff7edf152c664da50 Mon Sep 17 00:00:00 2001 From: clbaita Date: Thu, 8 Dec 2022 19:42:06 +1100 Subject: [PATCH] Fix macOS packages installing on linux --- elixir/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elixir/flake.nix b/elixir/flake.nix index 49f3df7..c404289 100644 --- a/elixir/flake.nix +++ b/elixir/flake.nix @@ -20,8 +20,8 @@ devShells.default = pkgs.mkShell { buildInputs = (with pkgs; [ elixir ]) ++ pkgs.lib.optionals (pkgs.stdenv.isLinux) (with pkgs; [ gigalixir inotify-tools libnotify ]) ++ # Linux only - pkgs.lib.optionals (pkgs.stdenv.isDarwin) (with pkgs; [ terminal-notifier ]) ++ # macOS only - (with pkgs.darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices ]); + pkgs.lib.optionals (pkgs.stdenv.isDarwin) ((with pkgs; [ terminal-notifier ]) ++ # macOS only + (with pkgs.darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices ])); shellHook = '' ${pkgs.elixir}/bin/mix --version