multimarkdown: Move files from $out/ to $out/share/doc/multimarkdown/

Closes #193654
This commit is contained in:
Damien Cassou 2022-09-30 10:32:05 +02:00
parent 46e8398474
commit 9cf45de9d6
No known key found for this signature in database
GPG Key ID: B68746238E59B548

View File

@ -21,6 +21,13 @@ stdenv.mkDerivation rec {
patchShebangs tools/enumsToPerl.pl
'';
postInstall = ''
# Move files from $out/ to sub directories to prevent conflicts
# with other packages:
mkdir -p $out/share/doc/multimarkdown/
mv $out/LICENSE.txt $out/README.txt $out/share/doc/multimarkdown/
'';
nativeBuildInputs = [
cmake
perl