-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathdefault.nix
More file actions
60 lines (56 loc) · 1.03 KB
/
Copy pathdefault.nix
File metadata and controls
60 lines (56 loc) · 1.03 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in pkgs.mkShell {
packages = with pkgs; [
gcc13
gcc13Stdenv
wget
less
cmake
autoconf
automake
curl
git
isl
libmpc
mpfr
gmp
gawk
gnupg
bison
flex
texinfo
gperf
libtool
bc
zlib
bash
ccache
gnumake
help2man
openssh
perl
util-linux
vim
zlib
locale
(python3.withPackages (python-pkgs: [
python-pkgs.hjson
python-pkgs.mako
python-pkgs.sphinx
python-pkgs.sphinxcontrib-log-cabinet
python-pkgs.sphinx_rtd_theme
python-pkgs.recommonmark
python-pkgs.pandas
]))
];
hardeningDisable = [ "all" ];
stdenv = pkgs.gcc13Stdenv;
shellHook = ''
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive ;
export HPDCACHE_DIR=${toString ./.} ;
export RISCV=${toString ./.}/tools/riscv ;
source .github/scripts/env.sh ;
'';
}