From b64bb81129608fad78cd65bc95b723636890ce41 Mon Sep 17 00:00:00 2001 From: MayNiklas Date: Wed, 3 Apr 2024 10:52:28 +0200 Subject: [PATCH] bambu-studio: move LICENSE.txt --- pkgs/applications/misc/bambu-studio/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/misc/bambu-studio/default.nix b/pkgs/applications/misc/bambu-studio/default.nix index f58283564c13..24055979702f 100644 --- a/pkgs/applications/misc/bambu-studio/default.nix +++ b/pkgs/applications/misc/bambu-studio/default.nix @@ -166,6 +166,16 @@ stdenv.mkDerivation rec { ) ''; + # needed to prevent collisions between the LICENSE.txt files of + # bambu-studio and orca-slicer. + postInstall = '' + mkdir -p $out/share/doc + mv $out/LICENSE.txt $out/share/doc/LICENSE.txt + if [ -f $out/README.md ]; then + mv $out/README.md $out/share/doc/README.md + fi + ''; + meta = with lib; { description = "PC Software for BambuLab's 3D printers"; homepage = "https://github.com/bambulab/BambuStudio";