aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: 9a870633f8281432e1c11d0ef9d9fbbe97bcde86 (plain)
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
#!/usr/bin/env -S nix-shell --pure
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [(
    with pkgs; [
      # nix_related
      nixFlakes
      nix-prefetch-git
      validatePkgConfig
      jq
      git
      # d_build_related
      rund
      dub
      ldc
      #meson
      # # search_sqlite_related
      # sqlite
      # # xml_and_epub_related
      # libxml2
      # html-tidy
      # xmlstarlet
      # epubcheck
      # ebook_tools
      # epr
      # sigil
      # calibre # (ebook-viewer)
      # foliate
    ]
  )];
  shellHook = ''
    if [[ -e ".envrc" ]]; then
      source .envrc
    fi
  '';
}