diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..8b42278 --- /dev/null +++ b/.envrc @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + use nix +fi diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..c5b7a4a --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ +{ pkgs ? import { } }: + +with pkgs; + +mkShell { + nativeBuildInputs = [ + go-licence-detector + go_1_23 + golangci-lint + goreleaser + gotools # goimports + + # keep this line if you use bash + bashInteractive + ]; +}