cross: fix cozy unable to load FileChooser at runtime

This commit is contained in:
Colin 2023-06-15 22:02:47 +00:00
parent 21006e52dc
commit c819bc2d95
2 changed files with 9 additions and 0 deletions

View File

@ -247,6 +247,14 @@ in {
nativeBuildInputs = upstream.nativeBuildInputs ++ [ final.git ];
});
cozy = prev.cozy.override {
cozy = prev.cozy.upstream.cozy.override {
# fixes runtime error: "Settings schema 'org.gtk.Settings.FileChooser' is not installed"
# otherwise gtk3+ schemas aren't added to XDG_DATA_DIRS
inherit (emulated) wrapGAppsHook;
};
};
dante = prev.dante.override {
# fixes: "configure: error: error: getaddrinfo() error value count too low"
inherit (emulated) stdenv;

View File

@ -6,4 +6,5 @@
hash = "sha256-Wk03NGVU7OsQu3AGILtRsQX2r+wPOt5U85cOWu4q6Uo=";
})
];
passthru = (upstream.passthru or {}) // { upstream.cozy = cozy; };
})