Add gigalixir

This commit is contained in:
Luc Perkins 2022-08-02 12:57:37 +02:00
parent 9bcec27605
commit 62f32c4282
No known key found for this signature in database
GPG key ID: 4F102D0C16E232F2
2 changed files with 6 additions and 6 deletions

View file

@ -77,6 +77,7 @@ The sections below list what each template includes. In all cases, you're free t
### [`elixir`](./elixir/) ### [`elixir`](./elixir/)
- [Elixir] 1.13.4, including [mix] and [IEx] - [Elixir] 1.13.4, including [mix] and [IEx]
- [gigalixir] (Linux only)
- [Node.js][node] 18.7.0 (largely for [Phoenix] projects) - [Node.js][node] 18.7.0 (largely for [Phoenix] projects)
### [`elm`](./elm/) ### [`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 [elm]: https://elm-lang.org
[elm2nix]: https://github.com/cachix/elm2nix [elm2nix]: https://github.com/cachix/elm2nix
[flake-utils]: https://github.com/numtide/flake-utils [flake-utils]: https://github.com/numtide/flake-utils
[gigalixir]: https://www.gigalixir.com
[gleam]: https://gleam.run [gleam]: https://gleam.run
[go]: https://go.dev [go]: https://go.dev
[godoc]: https://pkg.go.dev/golang.org/x/tools/cmd/godoc [godoc]: https://pkg.go.dev/golang.org/x/tools/cmd/godoc

View file

@ -10,17 +10,15 @@
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
inherit (pkgs) 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.beam.packages.erlangR25) elixir elixir_ls;
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation CoreServices;
inherit (pkgs.lib) optionals; inherit (pkgs.lib) optionals;
inherit (pkgs.stdenv) isDarwin isLinux; inherit (pkgs.stdenv) isDarwin isLinux;
linuxDeps = optionals isLinux [ inotify-tools ]; linuxDeps = optionals isLinux [ gigalixir inotify-tools libnotify ];
darwinDeps = optionals isDarwin [ terminal-notifier ] darwinDeps = optionals isDarwin [ terminal-notifier ]
++ (with darwin.apple_sdk.frameworks; [ ++ [ CoreFoundation CoreServices ];
CoreFoundation
CoreServices
]);
in { in {
devShells = { devShells = {
default = mkShell { default = mkShell {