12345678910111213141516171819202122232425262728293031 |
- scope@{ pkgs ? import <nixpkgs> { } }:
- pkgs.buildEnv {
- name = "thingbuf";
- paths = with pkgs; [
- git
- bash
- direnv
- binutils
- stdenv
- bashInteractive
- cacert
- glibc
- gcc
- cmake
- rustup
- pkg-config
- (glibcLocales.override { locales = [ "en_US.UTF-8" ]; })
- gnumake
- autoconf
- ];
- passthru = {
- LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
- LC_ALL = "en_US.UTF-8";
- SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
- GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
- CURL_CA_BUNDLE = "${pkgs.cacert}/etc/ca-bundle.crt";
- CARGO_TERM_COLOR = "always";
- RUST_BACKTRACE = "1";
- };
- }
|