nixos-config/shell.nix
Christoph Heiss e6a0a2904b
nix: Add 'morph' to dev-shell packages
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-04-30 02:34:40 +02:00

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
];
}