gcompris: fix absolute path
This commit is contained in:
@@ -27,6 +27,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-E3l+5l4rsauidl6Ik5gSWf+SGpVaAVi5X51etl1D05w=";
|
||||
};
|
||||
|
||||
# fix concatenation of absolute paths like
|
||||
# /nix/store/77zcv3vmndif01d4wh1rh0d1dyvyqzpy-gcompris-25.0/bin/..//nix/store/77zcv3vmndif01d4wh1rh0d1dyvyqzpy-gcompris-25.0/share/gcompris-qt/rcc/core.rcc
|
||||
postPatch = ''
|
||||
substituteInPlace src/core/config.h.in --replace-fail \
|
||||
"../@_data_dest_dir@" "../share/gcompris-qt"
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeFeature "QML_BOX2D_LIBRARY" "${qmlbox2d}/${qtbase.qtQmlPrefix}/Box2D.2.1")
|
||||
(lib.cmakeBool "BUILD_TESTING" finalAttrs.finalPackage.doCheck)
|
||||
|
||||
Reference in New Issue
Block a user