Skip to content

Commit 323aaf5

Browse files
committed
update elixir
1 parent b0473dc commit 323aaf5

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

Diff for: shell.nix

+22-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
11
let
2-
nixpkgs = import (fetchTarball {
3-
url = "https://github.com/jechol/nixpkgs/archive/21.11-otp24-no-jit.tar.gz";
4-
sha256 = "sha256:1lka707hrnkp70vny99m9fmp4a8136vl7addmpfsdvkwb81d1jk9";
5-
}) { };
6-
platform = if nixpkgs.stdenv.isDarwin then [
7-
nixpkgs.darwin.apple_sdk.frameworks.CoreServices
8-
nixpkgs.darwin.apple_sdk.frameworks.Foundation
9-
] else if nixpkgs.stdenv.isLinux then
10-
[ nixpkgs.inotify-tools ]
11-
else
12-
[ ];
13-
in nixpkgs.mkShell {
14-
buildInputs = with nixpkgs; [ erlang elixir ] ++ platform;
2+
nixpkgs = import
3+
(fetchTarball {
4+
url = "https://github.com/jechol/nixpkgs/archive/22.05-otp25-no-jit.tar.gz";
5+
sha256 = "sha256:1k4wgcrffdlr7pr401md6dmvfwawcslvcwkv7qjgqqyrx52v130i";
6+
})
7+
{ };
8+
platform =
9+
if nixpkgs.stdenv.isDarwin then [
10+
nixpkgs.darwin.apple_sdk.frameworks.CoreServices
11+
nixpkgs.darwin.apple_sdk.frameworks.Foundation
12+
] else if nixpkgs.stdenv.isLinux then
13+
[ nixpkgs.inotify-tools ]
14+
else
15+
[ ];
16+
in
17+
nixpkgs.mkShell {
18+
buildInputs = with nixpkgs;
19+
[
20+
# OTP
21+
erlang
22+
elixir
23+
] ++ platform;
1524
}

0 commit comments

Comments
 (0)