From 7eeb32927ddcc86912815cd27d3a7e2beb4a35d0 Mon Sep 17 00:00:00 2001 From: vickydotbat Date: Sat, 30 May 2026 20:34:11 +0200 Subject: [PATCH] Nix shell --- shell.nix | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..69ccfc4 --- /dev/null +++ b/shell.nix @@ -0,0 +1,29 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + packages = with pkgs; [ + bash + cacert + coreutils + curl + ffmpeg + findutils + gawk + git + go + gnugrep + gnused + gnutar + gzip + jq + which + ] ++ lib.optionals stdenv.isLinux [ + powershell + ]; + + shellHook = '' + export SSL_CERT_FILE="${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" + export GIT_SSL_CAINFO="$SSL_CERT_FILE" + export GOCACHE="$PWD/.cache/go-build" + ''; +}