From cd783b7933fd88f881381d5a4a9c037006a12e42 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Wed, 28 Aug 2019 01:15:31 +0000 Subject: [PATCH] Make shell.nix really reproducible --- shell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shell.nix b/shell.nix index 23ebdb5..2d07c00 100644 --- a/shell.nix +++ b/shell.nix @@ -3,9 +3,17 @@ pkgs.mkShell { name = "free-as-in-freedom-v2-ru"; + FONTCONFIG_FILE = pkgs.makeFontsConf { + fontDirectories = [ pkgs.liberation_ttf ]; + }; + buildInputs = with pkgs; [ git utillinux gnumake texlive.combined.scheme-full rubber pandoc ]; + + shellHook = '' + export LANG=C.UTF-8 + ''; }