aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: fa4c3c42f9921f84aaf9b1ae78ef6e4ccdc37c36 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env -S nix-shell --pure
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
mkShell {
  buildInputs = [
    ### nix_related
    nixFlakes
    nix-prefetch-git
    validatePkgConfig
    jq
    git
    ### d_build_related
    ## package manager
    dub
    ## compiler
    ldc
    rund
    ## linker
    #lld
    #mold
    ## builder
    #ninja
    #meson
    ### sqlite search related
    sqlite
    # ### pdf_latex_related
    # source-sans-pro
    # source-serif-pro
    # source-code-pro
    # texlive.combined.scheme-full
    # ### xml_and_epub_related
    # libxml2
    # html-tidy
    # xmlstarlet
    # epubcheck
    # ebook_tools
    # epr
    # sigil
    # calibre #(suite includes: ebook-viewer)
    # foliate
    # ### i18n translation related
    # perl534Packages.Po4a
    ### candy
    starship
  ];
  shellHook = ''
    if [[ -e ".envrc" ]]; then
      source .envrc
    fi
    eval "$(starship init bash)"
  '';
}