-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathdefault.nix
More file actions
31 lines (30 loc) · 698 Bytes
/
default.nix
File metadata and controls
31 lines (30 loc) · 698 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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";
};
}