Skip to content

Commit fb52407

Browse files
authored
chore(nix): nix elixir 1.16 fix (#1206)
1 parent 49665b6 commit fb52407

File tree

2 files changed

+20
-47
lines changed

2 files changed

+20
-47
lines changed

flake.lock

Lines changed: 12 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
pkgs.go_1_21
3131
pkgs.gotools
3232
otp.erlang
33-
otp.elixir_1_15
33+
nixpkgs.legacyPackages.aarch64-darwin.elixir_1_16
3434
pkgs.elixir_ls
3535
pkgs.glibcLocales
3636
pkgs.protobuf3_24
@@ -42,6 +42,13 @@
4242
]);
4343

4444
shellHook = ''
45+
if [ -f ~/.git-prompt.sh ]; then
46+
GIT_PS1_SHOWUPSTREAM="auto"
47+
GIT_PS1_SHOWCOLORHINTS="yes"
48+
source ~/.git-prompt.sh
49+
export PROMPT_COMMAND='__git_ps1 "\u@\h:\W" "\\\$ ";'
50+
fi
51+
4552
export PATH="$HOME/go/bin:$HOME/.mix/escripts:$PATH"
4653
'';
4754
};

0 commit comments

Comments
 (0)