From 7cb8975b0b9f0542cd622233f958046c42013400 Mon Sep 17 00:00:00 2001 From: sapcc-bot Date: Tue, 8 Oct 2024 16:01:00 +0000 Subject: [PATCH] Run go-makefile-maker --- .envrc | 6 ++++++ shell.nix | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .envrc create mode 100644 shell.nix 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 + ]; +}