diff options
Diffstat (limited to 'shell.nix')
-rwxr-xr-x | shell.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix new file mode 100755 index 00000000..9f689127 --- /dev/null +++ b/shell.nix @@ -0,0 +1,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)" + ''; +} |