Skip to content

Commit 9744093

Browse files
committed
nix develop
1 parent 76111ba commit 9744093

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

flake.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
description = "Jekyll Github Pages Env";
3+
4+
inputs = {
5+
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6+
};
7+
8+
outputs = { self, nixpkgs }: let
9+
system = "x86_64-linux";
10+
in {
11+
devShells."${system}".default = let
12+
pkgs = import nixpkgs { inherit system; };
13+
in pkgs.mkShell {
14+
packages = with pkgs; [ ruby zlib.dev libffi.dev libyaml.dev ];
15+
shellHook = ''
16+
exec zsh
17+
'';
18+
};
19+
};
20+
}

0 commit comments

Comments
 (0)