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 cmake 29 ]; 30 31 - patchPhase = '' 32 runHook prePatch 33 34 substituteInPlace ./CMakeLists.txt \ ··· 37 # prevent inheriting permissions from /nix/store when copying 38 substituteInPlace Converter/src/main.cpp --replace \ 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 ''; 43 44 installPhase = '' 45 runHook preInstall 46 mkdir -p $out/{bin,lib} 47 mv liblaszip.so $out/lib 48 mv PotreeConverter $out/bin ··· 56 runHook postInstall 57 ''; 58 59 - fixupPhase = '' 60 - runHook preFixup 61 ln -s $src/resources $out/bin/resources 62 - runHook postFixup 63 ''; 64 65 meta = with lib; {
··· 28 cmake 29 ]; 30 31 + postPatch = '' 32 runHook prePatch 33 34 substituteInPlace ./CMakeLists.txt \ ··· 37 # prevent inheriting permissions from /nix/store when copying 38 substituteInPlace Converter/src/main.cpp --replace \ 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 42 + # The upstream build system does not provide an install target. 43 installPhase = '' 44 runHook preInstall 45 + 46 mkdir -p $out/{bin,lib} 47 mv liblaszip.so $out/lib 48 mv PotreeConverter $out/bin ··· 56 runHook postInstall 57 ''; 58 59 + postFixup = '' 60 ln -s $src/resources $out/bin/resources 61 ''; 62 63 meta = with lib; {