Skip to content

Commit

Permalink
nix shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
jechol committed Oct 2, 2021
1 parent 1196147 commit 386664c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let
nixpkgs = import (fetchTarball {
url = "https://github.com/trevorite/nixpkgs/archive/21.05.tar.gz";
sha256 = "sha256:1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
url = "https://github.com/trevorite/nixpkgs/archive/otp24-no-jit.tar.gz";
sha256 = "sha256:01n9hn9v7w9kgcd4zipf08bg9kskmpm7sp7f8z3yawk2c0w7q2kl";
}) { };
platform = if nixpkgs.stdenv.isDarwin then [
nixpkgs.darwin.apple_sdk.frameworks.CoreServices
Expand All @@ -11,5 +11,10 @@ let
else
[ ];
in nixpkgs.mkShell {
buildInputs = [ nixpkgs.erlang nixpkgs.elixir ] ++ platform;
buildInputs = with nixpkgs;
[
# OTP
erlang
elixir
] ++ platform;
}

0 comments on commit 386664c

Please sign in to comment.