New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libsForQt5.fcitx-qt5: fix build #65571
Conversation
Can you make With that this change should be good to merge. |
9d42cfc
to
781ec03
Compare
@GrahamcOfBorg build libsForQt5.fcitx-qt5 fcitx-engines.libpinyin |
did you see my comment #65547 (comment), setting
in my short experiment and looks cleaner than a substitute. Maybe qt5.mkDerivation should set it as well. |
in all honesty, i didn't. I made the PR before I saw the issue. |
I've actually iterated off variants of what you've suggested @teto and that didn't actually fix it. |
thanks for the fix, I am quite busy now so I just merged it, I will try to push my small fix (first making sure it's a fix xD) later on. |
libsForQt5.fcitx-qt5: fix build
This build doesn't seem fixed for me, it still fails. When both |
I've checked this PR out again locally and the build succeeds for me with But on 525eaf407d4 it does appear broken again, Adding another substitution did the trick though diff --git a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
index ad5b4669498..697c02ee6ab 100644
--- a/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
+++ b/pkgs/tools/inputmethods/fcitx/fcitx-qt5.nix
@@ -23,7 +23,8 @@ mkDerivation rec {
preInstall = ''
substituteInPlace platforminputcontext/cmake_install.cmake \
- --replace ${qtbase.bin} $out
+ --replace ${qtbase.bin} $out \
+ --replace ${qtbase.out} $out
substituteInPlace quickphrase-editor/cmake_install.cmake \
--replace ${fcitx} $out
'';
I'd say it would be best if @teto corrects this or apply the above diff. |
Motivation for this change
While reviewing another PR, found this was broken due to output path error.
libpinyin was the original derivation that was failing due to the fcitx-qt5 error, I cleaned up an "unused substitutation". Verified the cmake file wasn't making any reference to a fcitx storepath.
EDIT:
Resolves #65547
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)