blob: e442c1cb2c8862a0bfa32a416d45c3720a7ec284 (
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 = "tree.kummerlaender.eu";
buildInputs = [
pkgs.pandoc
pkgs.highlight
mypkgs.katex-wrapper
mypkgs.make-xslt
];
shellHook = ''
export NIX_SHELL_NAME="${name}"
'';
}
|