cross compilation: support clapper

This commit is contained in:
Colin 2023-07-26 08:51:51 +00:00
parent 7b21ede5c4
commit 7f13c482e5

View File

@ -210,6 +210,14 @@ in {
# ];
# });
clapper = prev.clapper.overrideAttrs (upstream: {
# use the host gjs (meson's find_program expects it to be executable)
postPatch = (upstream.postPatch or "") + ''
substituteInPlace bin/meson.build \
--replace "find_program('gjs').path()" "'${final.gjs}/bin/gjs'"
'';
});
# colord = prev.colord.override {
# # doesn't fix: "ld: error adding symbols: file in wrong format"
# inherit (emulated) stdenv;