cross compilation: support clapper
This commit is contained in:
parent
7b21ede5c4
commit
7f13c482e5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user