bambu-studio: move LICENSE and README to prevent collision

This commit is contained in:
Kirill Radzikhovskyy 2024-04-24 06:45:43 +10:00
parent bee3dc5dc6
commit 416e7fbac8

View File

@ -175,11 +175,8 @@ stdenv.mkDerivation rec {
# needed to prevent collisions between the LICENSE.txt files of # needed to prevent collisions between the LICENSE.txt files of
# bambu-studio and orca-slicer. # bambu-studio and orca-slicer.
postInstall = '' postInstall = ''
mkdir -p $out/share/doc mv $out/LICENSE.txt $out/share/BambuStudio/LICENSE.txt
mv $out/LICENSE.txt $out/share/doc/LICENSE.txt mv $out/README.md $out/share/BambuStudio/README.md
if [ -f $out/README.md ]; then
mv $out/README.md $out/share/doc/README.md
fi
''; '';
meta = with lib; { meta = with lib; {