aboutsummaryrefslogtreecommitdiffhomepage
path: root/shell.nix
blob: 5c0baa180c998eb5da30fb7218686fc816ca30de (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
#!/usr/bin/env -S nix-shell --pure
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  buildInputs = [(
    with pkgs; [
      ruby_3_0
      rubyPackages_3_0.rake
      rubyPackages_3_0.sqlite3
      rubyPackages_3_0.thor
      sqlite
      unzip
      xz
      zip
      openssl
      #texlive-combined-full
      nixFlakes
      validatePkgConfig
      jq
      git
    ]
  )];
  shellHook = ''
    if [[ -e ".envrc" ]]; then
      source .envrc
    fi
  '';
}