-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.nix
40 lines (33 loc) · 1005 Bytes
/
default.nix
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
let
pkgs =
import
(fetchTarball "https://github.com/b-rodrigues/nixpkgs/archive/d4f50d7ecf7b25cc6f52638cc53231e6bd0dcf64.tar.gz")
{ };
quarto_source =
import
(fetchTarball "https://github.com/NixOS/nixpkgs/archive/f79961ac201f457f810957c8f4275610cd329a0d.tar.gz")
{ };
tex = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-small amsmath framed fvextra environ fontawesome5 orcidlink pdfcol tcolorbox tikzfill;
});
python_pkgs = pkgs.python312.withPackages (ps: with ps; [
pandas
saiph
seaborn
matplotlib
pytest
numpy
gower
octopize_avatar
]);
in
pkgs.mkShell {
LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else "";
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
buildInputs = [ python_pkgs quarto_source.quarto tex ];
}