about summary refs log tree commit diff
path: root/pkgs/applications/graphics/potreeconverter
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2023-04-03 12:48:04 +0100
committermatthewcroughan <matt@croughan.sh>2023-04-03 12:48:04 +0100
commit2714719012aa1c57b75236f19a01effc92d53754 (patch)
tree5321d45bf5189df9f26bb10486c34722e2494d07 /pkgs/applications/graphics/potreeconverter
parentd59c85209d3d43b9867694b5c747db32ce977c7e (diff)
potreeconverter: symlink resources dir to $out
Diffstat (limited to 'pkgs/applications/graphics/potreeconverter')
-rw-r--r--pkgs/applications/graphics/potreeconverter/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/potreeconverter/default.nix b/pkgs/applications/graphics/potreeconverter/default.nix
index 07fae11408124..4255a12dbab2a 100644
--- a/pkgs/applications/graphics/potreeconverter/default.nix
+++ b/pkgs/applications/graphics/potreeconverter/default.nix
@@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
     runHook postInstall
   '';
 
+  fixupPhase = ''
+    runHook preFixup
+    ln -s $src/resources $out/bin/resources
+    runHook postFixup
+  '';
   meta = with lib; {
     description = "Create multi res point cloud to use with potree";
     homepage = "https://github.com/potree/PotreeConverter";