Nix shell
This commit is contained in:
@@ -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"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user