Nix shell

This commit is contained in:
2026-05-30 20:34:11 +02:00
parent a5dbad4ff9
commit 7eeb32927d
+29
View File
@@ -0,0 +1,29 @@
{ pkgs ? import <nixpkgs> {} }:
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"
'';
}