blob: d2c031d48c782297c3b773f5a4d66f06c660e2c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ system ? builtins.currentSystem }:
let
pkgs = import <nixpkgs> { inherit system; };
mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { };
in pkgs.stdenv.mkDerivation {
name = "Overview";
src = ./.;
LANG = "en_US.UTF-8";
buildInputs = [
pkgs.curl
pkgs.pandoc
pkgs.highlight
mypkgs.katex-wrapper
mypkgs.make-xslt
];
installPhase = ''
make-xslt
mkdir $out
cp -Lr target/99_result/* $out
'';
}
|