default.nix 698 B

12345678910111213141516171819202122232425262728293031
  1. scope@{ pkgs ? import <nixpkgs> { } }:
  2. pkgs.buildEnv {
  3. name = "thingbuf";
  4. paths = with pkgs; [
  5. git
  6. bash
  7. direnv
  8. binutils
  9. stdenv
  10. bashInteractive
  11. cacert
  12. glibc
  13. gcc
  14. cmake
  15. rustup
  16. pkg-config
  17. (glibcLocales.override { locales = [ "en_US.UTF-8" ]; })
  18. gnumake
  19. autoconf
  20. ];
  21. passthru = {
  22. LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
  23. LC_ALL = "en_US.UTF-8";
  24. SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
  25. GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
  26. CURL_CA_BUNDLE = "${pkgs.cacert}/etc/ca-bundle.crt";
  27. CARGO_TERM_COLOR = "always";
  28. RUST_BACKTRACE = "1";
  29. };
  30. }