fcitx5,xcb-imdkit: push cross fixes upstream
This commit is contained in:
@@ -272,15 +272,16 @@ in with final; {
|
||||
|
||||
# extra-cmake-modules = buildPackages.extra-cmake-modules;
|
||||
|
||||
fcitx5 = prev.fcitx5.overrideAttrs (upstream: {
|
||||
# TODO: CMake probably has some emulator, or cross compiler infra to use here?
|
||||
postPatch = (upstream.postPatch or "") + ''
|
||||
substituteInPlace src/modules/spell/CMakeLists.txt \
|
||||
--replace-fail 'COMMAND Fcitx5::comp-spell-dict' 'COMMAND ${stdenv.hostPlatform.emulator buildPackages} comp-spell-dict'
|
||||
'';
|
||||
# out for PR: <https://github.com/NixOS/nixpkgs/pull/399981>
|
||||
# fcitx5 = prev.fcitx5.overrideAttrs (upstream: {
|
||||
# # TODO: CMake probably has some emulator, or cross compiler infra to use here?
|
||||
# postPatch = (upstream.postPatch or "") + ''
|
||||
# substituteInPlace src/modules/spell/CMakeLists.txt \
|
||||
# --replace-fail 'COMMAND Fcitx5::comp-spell-dict' 'COMMAND ${stdenv.hostPlatform.emulator buildPackages} comp-spell-dict'
|
||||
# '';
|
||||
|
||||
buildInputs = lib.filter (p: p.name != extra-cmake-modules.name) upstream.buildInputs;
|
||||
});
|
||||
# buildInputs = lib.filter (p: p.name != extra-cmake-modules.name) upstream.buildInputs;
|
||||
# });
|
||||
|
||||
# 2025/01/25: upstreaming is unblocked
|
||||
# firejail = prev.firejail.overrideAttrs (upstream: {
|
||||
@@ -950,10 +951,11 @@ in with final; {
|
||||
xarchiver = mvToNativeInputs [ libxslt ] prev.xarchiver;
|
||||
|
||||
# 2025/04/17: upstreaming is unblocked
|
||||
xcb-imdkit = prev.xcb-imdkit.overrideAttrs (upstream: {
|
||||
buildInputs = lib.filter (p: p.name != extra-cmake-modules.name) upstream.buildInputs;
|
||||
nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
|
||||
buildPackages.extra-cmake-modules
|
||||
];
|
||||
});
|
||||
# out for PR: <https://github.com/NixOS/nixpkgs/pull/399981>
|
||||
# xcb-imdkit = prev.xcb-imdkit.overrideAttrs (upstream: {
|
||||
# buildInputs = lib.filter (p: p.name != extra-cmake-modules.name) upstream.buildInputs;
|
||||
# nativeBuildInputs = (upstream.nativeBuildInputs or []) ++ [
|
||||
# buildPackages.extra-cmake-modules
|
||||
# ];
|
||||
# });
|
||||
}
|
||||
|
@@ -30,14 +30,19 @@ let
|
||||
in
|
||||
[
|
||||
(fetchpatch' {
|
||||
# TODO: push upstream
|
||||
name = "git: fix cross compilation";
|
||||
saneCommit = "a39adc945ec4f157bc695ef8ecd1e95579f01afa";
|
||||
hash = "sha256-OxUx3KgR0NstFfuobb3LxWFYwY0DUrYqiVFifS+sYr8=";
|
||||
name = "fcitx5: fix cross compilation";
|
||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/399981";
|
||||
hash = "sha256-BSnp80+8cpb+1yFaB0g7ZnPgQQqC7qo+ReMJUtlKgr4=";
|
||||
})
|
||||
|
||||
(fetchpatch' {
|
||||
# TODO: approve after testing
|
||||
name = "git: fix cross compilation";
|
||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/399955";
|
||||
hash = "sha256-UsVH6NhHIEoipi9fzl89mZolo/Lo1l0dos7trOGdU9A=";
|
||||
})
|
||||
|
||||
(fetchpatch' {
|
||||
# fixes build
|
||||
name = "sm64coopdx: 1.2.1 -> 1.3.0";
|
||||
prUrl = "https://github.com/NixOS/nixpkgs/pull/399415";
|
||||
hash = "sha256-ExoGrUlZKBNeHyor22D/mi5cQrgbCxapcSdDE5o6Ow8=";
|
||||
|
Reference in New Issue
Block a user