From 1477bbe177da4d3ad07877d4b672aac4828d0a13 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 24 Jun 2019 15:49:04 +0200 Subject: Fix rebase conflicts --- shell.nix | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..e5e5b52 --- /dev/null +++ b/shell.nix @@ -0,0 +1,45 @@ +{ pkgs ? import { }, ... }: + +pkgs.stdenvNoCC.mkDerivation rec { + name = "openlb-env"; + + env = pkgs.buildEnv { + name = name; + paths = buildInputs; + }; + + buildInputs = with pkgs; let + texlive-custom = texlive.combine { + inherit (texlive) scheme-small collection-langgerman latexmk xpatch xstring siunitx biblatex logreq palatino courier mathpazo helvetic multirow; + }; + in [ + # make dependencies + gnumake + gcc9 + openmpi + + # introspection + universal-ctags + + # debugging + gdb + cgdb + valgrind + + # autoformat + astyle + + # result presentation + gnuplot + + # documentation + doxygen + graphviz + texlive-custom + biber + ]; + + shellHook = '' + export NIX_SHELL_NAME="${name}" + ''; +} -- cgit v1.2.3