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