From 420737291e2ec58a40c4a392bc4d1e29d87f1bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 17 Nov 2024 14:59:50 +0100 Subject: [PATCH] load devshell from flake --- .envrc | 1 + shell.nix | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/shell.nix b/shell.nix index 30505fe..966d586 100644 --- a/shell.nix +++ b/shell.nix @@ -1,8 +1,15 @@ { - pkgs ? import { }, + mkShell, + bashInteractive, + go, + delve, + gnupg, + util-linux, + nix, + golangci-lint, }: -pkgs.mkShell { - nativeBuildInputs = with pkgs; [ +mkShell { + nativeBuildInputs = [ bashInteractive go delve