mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
15 lines
397 B
Nix
15 lines
397 B
Nix
|
{ pkgs ? (import ../.. {}), nixpkgs ? { }}:
|
||
|
let
|
||
|
locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
|
||
|
functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; };
|
||
|
in pkgs.runCommand "doc-support" {}
|
||
|
''
|
||
|
mkdir result
|
||
|
(
|
||
|
cd result
|
||
|
ln -s ${locationsXml} ./function-locations.xml
|
||
|
ln -s ${functionDocs} ./function-docs
|
||
|
)
|
||
|
mv result $out
|
||
|
''
|