mochi/shell.nix

19 lines
469 B
Nix

# Need the unstable nixpkgs to get latest dev tools
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
pkgs = import nixpkgs { allowUnfree = true; };
in
pkgs.mkShell {
# Enable experimental features without having to specify the argument
NIX_CONFIG = "experimental-features = nix-command flakes";
nativeBuildInputs = with pkgs; [
cachix
git
gitleaks
go-task
pre-commit
sops
statix
];
}