diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-12-03 20:55:32 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-12-03 20:55:32 -0800 |
commit | 294c135d3ffd8e937bef404703695d7d79599f8e (patch) | |
tree | f6aab2b939cc5d1ba98220bc02e6cf3056c17410 /shell.nix | |
parent | 267489c19fb8f80fec8f8edc0f174dbd08aa657c (diff) | |
download | teliva-294c135d3ffd8e937bef404703695d7d79599f8e.tar.gz |
elaborate a little more on install instructions
Thanks to Mariano Guerra for the Nix command, and to Konrad Hinsen for the Guix command.
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..17540fe --- /dev/null +++ b/shell.nix @@ -0,0 +1,19 @@ +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz") {} }: + +pkgs.mkShell { + LOCALE_ARCHIVE_2_27 = if (pkgs.glibcLocales != null) then "${pkgs.glibcLocales}/lib/locale/locale-archive" else ""; + + buildInputs = [ + pkgs.glibcLocales + pkgs.git + pkgs.gnumake + pkgs.ncurses + pkgs.gcc + pkgs.openssl + ]; + shellHook = '' + export LC_ALL=en_US.UTF-8 + export GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt + export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt + ''; +} |