-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
31 lines (30 loc) · 895 Bytes
/
flake.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
{
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-23.11;
flake-utils.url = github:numtide/flake-utils;
typelevel-nix.url = "github:typelevel/typelevel-nix";
typelevel-nix.inputs.nixpkgs.follows = "nixpkgs";
typelevel-nix.inputs.flake-utils.follows = "flake-utils";
};
outputs = { self, nixpkgs, flake-utils, typelevel-nix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ typelevel-nix.overlay ];
};
in
{
devShell = pkgs.devshell.mkShell {
packages = [pkgs.althttpd];
imports = [ typelevel-nix.typelevelShell ];
name = "aquascape-shell";
typelevelShell = {
jdk.package = pkgs.jdk21;
native.enable = false;
nodejs.enable = true;
};
};
}
);
}