aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 719b8df1edb1ae880b2d2fc37c787da60408614c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ system ? builtins.currentSystem }:

let
  pkgs    = import <nixpkgs> { inherit system; };
  mypkgs  = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };

in pkgs.stdenv.mkDerivation rec {
  name = "blog.kummerlaender.eu";

  buildInputs = [
    pkgs.pandoc
    pkgs.highlight
    mypkgs.katex-wrapper
    mypkgs.make-xslt
  ];

  shellHook = ''
    export NIX_SHELL_NAME="${name}"
  '';
}