Skip to content

Instantly share code, notes, and snippets.

@tatey
Created February 23, 2023 23:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tatey/acdd8c4cd8d1c59558769ca48fd65ba1 to your computer and use it in GitHub Desktop.
Save tatey/acdd8c4cd8d1c59558769ca48fd65ba1 to your computer and use it in GitHub Desktop.
Minimal shell.nix for Ruby on Rails
let
nixpkgs =
import (builtins.fetchTarball {
url = https://github.com/NixOS/nixpkgs/archive/f5dad40450d272a1ea2413f4a67ac08760649e89.tar.gz; # Pinned to unstable. Update by picking a SHA from https://status.nixos.org
}) { };
in
nixpkgs.mkShell {
buildInputs = [
nixpkgs.ruby_3_1
nixpkgs.nodejs-18_x
nixpkgs.imagemagick
nixpkgs.libiconv
nixpkgs.libsass
nixpkgs.pkg-config
nixpkgs.postgresql_12
nixpkgs.zlib
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment