Created
January 8, 2023 23:28
-
-
Save chooh/ad6d4de73ad3faf7773d62275d82c6a1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> { | |
overlays = [ | |
(self: super: rec { | |
beam = super.beam // { defaultVersion = "erlangR25"; }; | |
elixir = super.elixir_1_14; | |
elixir_ls = super.elixir_ls.override { elixir = elixir; }; | |
}) | |
]; | |
}; | |
mkShell { | |
buildInputs = [ elixir elixir_ls git flyctl ] | |
++ lib.optional stdenv.isDarwin terminal-notifier # For ExUnit Notifier on macOS. | |
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ | |
# For file_system on macOS. | |
CoreFoundation | |
CoreServices | |
]); | |
ERL_AFLAGS = "-kernel shell_history enabled"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment