-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdevenv-test.nix
More file actions
38 lines (32 loc) · 859 Bytes
/
devenv-test.nix
File metadata and controls
38 lines (32 loc) · 859 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
32
33
34
35
36
37
38
# Docs: https://devenv.sh/basics/
{ pkgs, ... }: {
name = "tk test";
# Extend main devenv:
imports = [ ./devenv.nix ];
languages = {
# Docs: https://devenv.sh/languages/
java.enable = true;
javascript.enable = true;
python.enable = true;
};
packages = with pkgs; [
# Search for packages: https://search.nixos.org/packages?channel=unstable&query=cowsay
# (note: this searches on unstable channel, be aware your nixpkgs flake input might be on a release channel)
go-task
gnumake
deno
sbt
go-task
cargo-make
jbang
#handled by `languages` above:
# python3
# nodejs
# adoptopenjdk-jre-bin
];
env = {
NODE_HOME = "${pkgs.nodejs}";
# JAVA_HOME = "${pkgs.adoptopenjdk-jre-bin.home}"; - seems to be handled by languages.java
JBANG_HOME = "${pkgs.jbang}/bin";
};
}