gcompris: fix absolute path

+7
+7
pkgs/games/gcompris/default.nix
··· 27 27 hash = "sha256-E3l+5l4rsauidl6Ik5gSWf+SGpVaAVi5X51etl1D05w="; 28 28 }; 29 29 30 + # fix concatenation of absolute paths like 31 + # /nix/store/77zcv3vmndif01d4wh1rh0d1dyvyqzpy-gcompris-25.0/bin/..//nix/store/77zcv3vmndif01d4wh1rh0d1dyvyqzpy-gcompris-25.0/share/gcompris-qt/rcc/core.rcc 32 + postPatch = '' 33 + substituteInPlace src/core/config.h.in --replace-fail \ 34 + "../@_data_dest_dir@" "../share/gcompris-qt" 35 + ''; 36 + 30 37 cmakeFlags = [ 31 38 (lib.cmakeFeature "QML_BOX2D_LIBRARY" "${qmlbox2d}/${qtbase.qtQmlPrefix}/Box2D.2.1") 32 39 (lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck)