21 lines
543 B
Nix
21 lines
543 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
pkgs.mkShell {
|
|
# Fix annoying "sh: warning: setlocale: LC_ALL: cannot change locale" warning
|
|
# https://stackoverflow.com/a/63123144
|
|
# https://gist.github.com/peti/2c818d6cb49b0b0f2fd7c300f8386bc3
|
|
# TODO: Fix this for `nix develop` too, this seems to only work for `nix-shell`
|
|
LOCALE_ARCHIVE_2_27 = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
deadnix
|
|
gnumake
|
|
morph
|
|
nixfmt
|
|
nodePackages.prettier
|
|
shellcheck
|
|
statix
|
|
stylua
|
|
];
|
|
}
|