aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: ddcde36155d098fd8cd52620b44b837705f5d4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
with import <nixpkgs> { };

let jekyllEnv = bundlerEnv rec {
  name = "jekyllEnv";
  inherit ruby;
  gemfile = ./Gemfile;
  lockfile = ./Gemfile.lock;
  gemset = ./gemset.nix;
};
in
pkgs.mkShell {
  buildInputs = with pkgs; [
    jekyllEnv
    bundler
    ruby

    # keep this line if you use bash
    bashInteractive
  ];
}