File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ You can quickly check your edits with `make`:
77``` ShellSession
88$ cd /path/to/nixpkgs/doc
99$ nix-shell
10- [nix-shell]$ make $makeFlags
10+ [nix-shell]$ make
1111```
1212
1313If you experience problems, run ` make debug ` to help understand the docbook errors.
Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ in pkgs.stdenv.mkDerivation {
1717
1818 src = lib . cleanSource ./. ;
1919
20- makeFlags = [
21- "PANDOC_LUA_FILTERS_DIR=${ pkgs . pandoc-lua-filters } /share/pandoc/filters"
22- ] ;
23-
2420 postPatch = ''
2521 ln -s ${ doc-support } ./doc-support/result
2622 '' ;
@@ -37,4 +33,7 @@ in pkgs.stdenv.mkDerivation {
3733 echo "doc manual $dest manual.html" >> $out/nix-support/hydra-build-products
3834 echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products
3935 '' ;
36+
37+ # Environment variables
38+ PANDOC_LUA_FILTERS_DIR = "${ pkgs . pandoc-lua-filters } /share/pandoc/filters" ;
4039}
You can’t perform that action at this time.
0 commit comments