shell&build: update to minted 2.5 and adapt shell

This commit is contained in:
steveej 2017-09-14 17:59:52 +02:00
parent ebc4bcb8bb
commit d4709f72dc
2 changed files with 55 additions and 2 deletions

View file

@ -7,8 +7,13 @@ let
repo = "nixpkgs-channels";
rev = "81fceb255448415e70b9e7775d590b6def45f861";
sha256 = "0sfx21b9rb6qxjm7li3krk6ik0xxph1il7r5l69n8b9agp72yjfx";
# rev = "1b1fc6550559f9d73ddf7cea611c387a847bf03b";
# sha256 = "0gipwxghvwnv2n7csp8ks3l2g1z7hwqn96bljikkm7p8jjpfb5ds";
};
patches = [ ./build/texlive-url-mirror.patch ];
patches = [
#./build/texlive-url-mirror.patch
./build/update-minted-2.5.patch
];
buildPhase = "";
installPhase = ''
cp -a . $out
@ -19,7 +24,7 @@ let
pkgs = import patchedPkgsSrc {};
mytexlive = (pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-full;
inherit (pkgs.texlive) scheme-full minted pygmentex fvextra;
});
in pkgs.stdenv.mkDerivation {
@ -136,6 +141,8 @@ in pkgs.stdenv.mkDerivation {
let g:vimtex_fold_comments = 1
let g:vimtex_fold_preamble = 1
let g:vimtex_latexmk_options = '-verbose -pdf -shell-escape -file-line-error -synctex=1 -interaction=nonstopmode'
if !exists('g:ycm_semantic_triggers')
let g:ycm_semantic_triggers = {}
endif
@ -173,7 +180,12 @@ in pkgs.stdenv.mkDerivation {
};
})
pkgs.bashInteractive
mytexlive
pkgs.biber
pkgs.pygmentex
pkgs.python27Packages.pygments-markdown-lexer
pkgs.zathura
];
}