From 2714719012aa1c57b75236f19a01effc92d53754 Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Mon, 3 Apr 2023 12:48:04 +0100 Subject: [PATCH] potreeconverter: symlink resources dir to $out --- pkgs/applications/graphics/potreeconverter/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/graphics/potreeconverter/default.nix b/pkgs/applications/graphics/potreeconverter/default.nix index 07fae1140812..4255a12dbab2 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";