Unverified Commit ffbf62d1 authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

kicad: fix paths inside compressed step files (#495672)

parents a0d346b2 21bfc50d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ let

      postInstall =
        lib.optionalString (name == "packages3d") ''
          find $out -type f -name '*.step' | parallel 'stepreduce {} {} ${lib.optionalString compressStep "&& zip -9 {.}.stpZ {} && rm {}"}'
          find $out -type f -name '*.step' | parallel 'stepreduce {} {} ${lib.optionalString compressStep "&& zip -j -9 {.}.stpZ {} && rm {}"}'
        ''
        + lib.optionalString ((name == "footprints") && compressStep) ''
          grep -rl '\.step' $out | xargs sed -i 's/\.step/.stpZ/g'