teliva/shell.nix
Kartik K. Agaram 294c135d3f elaborate a little more on install instructions
Thanks to Mariano Guerra for the Nix command, and to Konrad Hinsen for
the Guix command.
2021-12-03 20:55:32 -08:00

20 lines
509 B
Nix

{ 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
'';
}