aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 84601f862d4440a4c9f57baed3ade17dfd94ac2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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 = "Overview";

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

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