You've already forked tribes-plugin-new
a3ab1c5470
Set generated plugin devenv shells to use a Nix glibc locale archive containing en_GB.UTF-8, and apply the same setting to this repository.
44 lines
775 B
Nix
44 lines
775 B
Nix
{pkgs, ...}: let
|
|
devLocales = pkgs.glibcLocales.override {
|
|
allLocales = false;
|
|
locales = [
|
|
"en_GB.UTF-8/UTF-8"
|
|
"en_US.UTF-8/UTF-8"
|
|
];
|
|
};
|
|
in {
|
|
env = {
|
|
LANG = "en_GB.UTF-8";
|
|
LOCALE_ARCHIVE = "${devLocales}/lib/locale/locale-archive";
|
|
MIX_OS_DEPS_COMPILE_PARTITION_COUNT = 8;
|
|
};
|
|
|
|
packages = with pkgs; [
|
|
git
|
|
alejandra
|
|
];
|
|
|
|
languages.elixir = {
|
|
enable = true;
|
|
package = pkgs.elixir_1_19;
|
|
};
|
|
|
|
devenv.warnOnNewVersion = false;
|
|
|
|
git-hooks.hooks = {
|
|
alejandra.enable = true;
|
|
check-added-large-files = {
|
|
enable = true;
|
|
args = ["--maxkb=131072"];
|
|
};
|
|
mix-format.enable = true;
|
|
mix-format.files = "\\.(ex|exs)$";
|
|
};
|
|
|
|
enterShell = ''
|
|
echo
|
|
elixir --version
|
|
echo
|
|
'';
|
|
}
|