diff --git a/README.md b/README.md index 7f27282..b35ad9d 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ The sections below list what each template includes. In all cases, you're free t ### [`elixir`](./elixir/) - [Elixir] 1.13.4, including [mix] and [IEx] +- [gigalixir] (Linux only) - [Node.js][node] 18.7.0 (largely for [Phoenix] projects) ### [`elm`](./elm/) @@ -219,6 +220,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T [elm]: https://elm-lang.org [elm2nix]: https://github.com/cachix/elm2nix [flake-utils]: https://github.com/numtide/flake-utils +[gigalixir]: https://www.gigalixir.com [gleam]: https://gleam.run [go]: https://go.dev [godoc]: https://pkg.go.dev/golang.org/x/tools/cmd/godoc diff --git a/elixir/flake.nix b/elixir/flake.nix index 4c72243..13dbc85 100644 --- a/elixir/flake.nix +++ b/elixir/flake.nix @@ -10,17 +10,15 @@ pkgs = import nixpkgs { inherit system; }; inherit (pkgs) - darwin inotify-tools mkShell nodejs-18_x terminal-notifier; + darwin gigalixir inotify-tools libnotify mkShell nodejs-18_x terminal-notifier; inherit (pkgs.beam.packages.erlangR25) elixir elixir_ls; + inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation CoreServices; inherit (pkgs.lib) optionals; inherit (pkgs.stdenv) isDarwin isLinux; - linuxDeps = optionals isLinux [ inotify-tools ]; + linuxDeps = optionals isLinux [ gigalixir inotify-tools libnotify ]; darwinDeps = optionals isDarwin [ terminal-notifier ] - ++ (with darwin.apple_sdk.frameworks; [ - CoreFoundation - CoreServices - ]); + ++ [ CoreFoundation CoreServices ]; in { devShells = { default = mkShell {