Created
September 26, 2018 20:29
-
-
Save ejpcmac/d6ce6d21328fa14a3f621e8406732e16 to your computer and use it in GitHub Desktop.
Bare minimum shell for Elixir projects
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
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
# I like to define variables for derivations that have | |
# a specific version and are subject to change over time. | |
elixir = beam.packages.erlangR21.elixir_1_7; | |
in | |
mkShell { | |
buildInputs = [ elixir git ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment