mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
docutils: Install compat symlinks
E.g. latest upstream version of diffoscope depends on a command named rst2man.
This commit is contained in:
parent
a86f1f1a06
commit
8ce4467495
1 changed files with 7 additions and 0 deletions
|
@ -7915,6 +7915,13 @@ in {
|
|||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
# Create symlinks lacking a ".py" suffix, many programs depend on these names
|
||||
postFixup = ''
|
||||
(cd $out/bin && for f in *.py; do
|
||||
ln -s $f $(echo $f | sed -e 's/\.py$//')
|
||||
done)
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An open-source text processing system for processing plaintext documentation into useful formats, such as HTML or LaTeX";
|
||||
homepage = http://docutils.sourceforge.net/;
|
||||
|
|
Loading…
Reference in a new issue