30 lines
465 B
Nix
30 lines
465 B
Nix
{ 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"
|
|
'';
|
|
}
|