From 6d6865217009745e406aab9dd7815de72ea2d99a Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Thu, 18 Mar 2021 00:24:58 +0100 Subject: [PATCH 1/3] Add shell.nix for easy development with nix --- shell.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..d99d963 --- /dev/null +++ b/shell.nix @@ -0,0 +1,7 @@ +let + pkgs = import {}; +in with pkgs; mkShell { + nativeBuildInputs = [ + ruby bundler libxml2 nodejs yarn + ]; +} From 3705235b24cc13e03d79bc640deab330eae702c2 Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Thu, 18 Mar 2021 10:41:42 +0100 Subject: [PATCH 2/3] Fix shell.nix for a pure shell --- shell.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index d99d963..6ea2464 100644 --- a/shell.nix +++ b/shell.nix @@ -2,6 +2,9 @@ let pkgs = import {}; in with pkgs; mkShell { nativeBuildInputs = [ - ruby bundler libxml2 nodejs yarn + ruby bundler libxml2 nodejs yarn cacert git glibcLocales ]; + shellHook = '' + export LANG=en_US.UTF-8 + ''; } From ff3abf60f84fad7fa28bd6b622aa1d6de816d863 Mon Sep 17 00:00:00 2001 From: lorin Date: Sun, 21 Mar 2021 12:09:39 +0100 Subject: [PATCH 3/3] Update shell.nix --- shell.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/shell.nix b/shell.nix index 6ea2464..fcb79d9 100644 --- a/shell.nix +++ b/shell.nix @@ -3,6 +3,7 @@ let in with pkgs; mkShell { nativeBuildInputs = [ ruby bundler libxml2 nodejs yarn cacert git glibcLocales + pandoc (texlive.combine { inherit (texlive) scheme-basic xetex unicode-math enumitem booktabs; }) ]; shellHook = '' export LANG=en_US.UTF-8