I'm trying to run the program in NixOS, when I run the build it reports:
[36/328] Generating src/libresrc/bitmap.{cpp,h} with a custom command
FAILED: src/libresrc/bitmap.cpp src/libresrc/bitmap.h
/build/source/tools/respack.py ../src/libresrc/../bitmaps/manifest.respack src/libresrc/bitmap.cpp src/libresrc/bitmap.h
/bin/sh: /build/source/tools/respack.py: not found
[37/328] Generating src/libresrc/default_config.{cpp,h} with a custom command
FAILED: src/libresrc/default_config.cpp src/libresrc/default_config.h
/build/source/tools/respack.py ../src/libresrc/manifest.respack src/libresrc/default_config.cpp src/libresrc/default_config.h
/bin/sh: /build/source/tools/respack.py: not found
After I edit the related meson.build, this part runs well.
Maybe other people haven't face this problem because they build the program in a FHS env? Maybe because NixOS is not a FHS system so meson can't find python normally? I think this PR's change will not break in other OS and is helpful to other Non-FHS build env.
I'm trying to run the program in NixOS, when I run the build it reports:
After I edit the related meson.build, this part runs well.
Maybe other people haven't face this problem because they build the program in a FHS env? Maybe because NixOS is not a FHS system so meson can't find python normally? I think this PR's change will not break in other OS and is helpful to other Non-FHS build env.