aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/spine_search_cgi/shell.nix
blob: 7f37eee5fd93796be416bbd5fcdac0a3034efbbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env -S nix-shell --pure
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = with pkgs; [(
    with pkgs; [
      nixFlakes
      rund
      dub
      ldc
      sqlite
      nix-prefetch-git
      validatePkgConfig
      jq
      git
    ]
  )];
  shellHook = ''
    if [[ -e ".envrc" ]]; then
      source .envrc
    fi
  '';
}