about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorKirill Radzikhovskyy <kirillrdy@gmail.com>2024-04-24 06:46:15 +1000
committerKirill Radzikhovskyy <kirillrdy@gmail.com>2024-04-24 06:48:28 +1000
commit2715a8ad3a6d3237e1658340d4fb5758e76d0544 (patch)
treece272fc5eb52cf17d9f87a198450a137c78e1159 /pkgs/applications/misc
parent416e7fbac823d92fb8141fa84d69edf4f5dec832 (diff)
orca-slicer: move LICENSE to prevent collision
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/bambu-studio/orca-slicer.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/misc/bambu-studio/orca-slicer.nix b/pkgs/applications/misc/bambu-studio/orca-slicer.nix
index e6cc9d1235429..af89be65246d3 100644
--- a/pkgs/applications/misc/bambu-studio/orca-slicer.nix
+++ b/pkgs/applications/misc/bambu-studio/orca-slicer.nix
@@ -19,6 +19,12 @@ bambu-studio.overrideAttrs (
       hash = "sha256-YlLDUH3ODIfax5QwnsVJi1JjZ9WtxP3ssqRP1C4d4bw=";
     };
 
+    # needed to prevent collisions between the LICENSE.txt files of
+    # bambu-studio and orca-slicer.
+    postInstall = ''
+      mv $out/LICENSE.txt $out/share/OrcaSlicer/LICENSE.txt
+    '';
+
     meta = with lib; {
       description = "G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc";
       homepage = "https://github.com/SoftFever/OrcaSlicer";