Fix macOS packages installing on linux
This commit is contained in:
parent
b39ce859b4
commit
cf3a42d820
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue