Skip to content

Instantly share code, notes, and snippets.

@matthewbauer
Last active November 30, 2019 11:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewbauer/2dbbfa9aa1281fde5cdea77bba241eb9 to your computer and use it in GitHub Desktop.
Save matthewbauer/2dbbfa9aa1281fde5cdea77bba241eb9 to your computer and use it in GitHub Desktop.
let userPackages = []; # put user packages here
in {
infopages = buildEnv {
name = "info-pages";
paths = userPackages;
extraOutputsToInstall = [ "info" "doc" "devdoc" ];
pathsToLink = [ "/share/info" ];
postBuild = ''
shopt -s nullglob
for i in $out/share/info/*; do
${texinfoInteractive}/bin/install-info \
$i $out/share/info/dir
done
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment