-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathflake.nix
More file actions
51 lines (50 loc) · 1.27 KB
/
flake.nix
File metadata and controls
51 lines (50 loc) · 1.27 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
utils,
}:
utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
bash
cargo # To install term-transcript
coreutils
fd
flyctl
gawk # Needed by packages `network` and `old-time`
git-cliff
gnumake
haskell.compiler.ghc910
haskellPackages.cabal-fmt
haskellPackages.cabal-install
haskellPackages.fourmolu
(pkgs.haskell-language-server.override {
supportedGhcVersions = [ "9103" ];
})
haskellPackages.hlint
haskellPackages.stack
mdbook
mdbook-toc
nodejs_22 # For building the webapp
sqlite
zlib
];
shellHook = ''
cargo install --locked term-transcript-cli@0.4.0
'';
};
formatter = pkgs.nixfmt-tree; # Format this file with `nix fmt`
}
);
}