potreeconverter: Don't unnecessarily override patchPhase/fixupPhase.

Overriding `patchPhase` makes declaring or overriding `patches = [...]`
have no effect.

+4 -6
+4 -6
pkgs/applications/graphics/potreeconverter/default.nix
··· 28 28 cmake 29 29 ]; 30 30 31 - patchPhase = '' 31 + postPatch = '' 32 32 runHook prePatch 33 33 34 34 substituteInPlace ./CMakeLists.txt \ ··· 37 37 # prevent inheriting permissions from /nix/store when copying 38 38 substituteInPlace Converter/src/main.cpp --replace \ 39 39 'fs::copy(templateDir, pagedir, fs::copy_options::overwrite_existing | fs::copy_options::recursive)' 'string cmd = "cp --no-preserve=mode -r " + templateDir + " " + pagedir; system(cmd.c_str());' 40 - 41 - runHook postPatch 42 40 ''; 43 41 42 + # The upstream build system does not provide an install target. 44 43 installPhase = '' 45 44 runHook preInstall 45 + 46 46 mkdir -p $out/{bin,lib} 47 47 mv liblaszip.so $out/lib 48 48 mv PotreeConverter $out/bin ··· 56 56 runHook postInstall 57 57 ''; 58 58 59 - fixupPhase = '' 60 - runHook preFixup 59 + postFixup = '' 61 60 ln -s $src/resources $out/bin/resources 62 - runHook postFixup 63 61 ''; 64 62 65 63 meta = with lib; {