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" + ''; +}