zeus.ugent.be/shell.nix
2021-04-04 22:26:07 +02:00

16 lines
453 B
Nix

with (import <nixpkgs> {});
let
gems = pkgs.bundlerEnv {
name = "zeus.ugent.be";
inherit ruby;
gemdir = ./.;
};
in mkShell {
nativeBuildInputs = [
ruby gems bundler libxml2 nodejs yarn cacert git glibcLocales
pandoc (texlive.combine { inherit (texlive) scheme-basic xetex unicode-math enumitem booktabs ulem; })
] ++ (if stdenv.isDarwin then [terminal-notifier] else []);
shellHook = ''
export LANG=en_US.UTF-8
'';
}