forked from wfu-agentic-ai/workgroup
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
55 lines (47 loc) · 1.17 KB
/
flake.nix
File metadata and controls
55 lines (47 loc) · 1.17 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
{
description = "Development environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {inherit system;};
# Core packages for academic work
corePackages = with pkgs; [
R
git
pandoc
python3
quarto
radian
typst
];
# R packages for data analysis
rPackages = with pkgs; [
# rPackages.tidyverse
];
# Python packages for computational work
pythonPackages = with pkgs; [
# python3Packages.pandas
];
# Development tools
devTools = with pkgs; [
direnv
];
allPackages = corePackages ++ rPackages ++ pythonPackages ++ devTools;
in {
devShell = pkgs.mkShell {
buildInputs = allPackages;
shellHook = ''
echo "Academic project environment loaded"
echo "Core tools: git, pandoc, quarto"
echo "Use 'direnv allow' to auto-load this environment"
'';
};
});
}