about summary refs log tree commit diff
path: root/pkgs/applications/editors/molsketch
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2023-07-29 13:57:50 +0300
committerK900 <me@0upti.me>2023-08-15 22:11:39 +0300
commit6edd6f71c7a089e88e500243904ea76ef023930c (patch)
tree4ff57d72271b88c100d167c19f2214dd51518987 /pkgs/applications/editors/molsketch
parent4d0a76416f5ca0402bfe7fc3fcd52a6d36c660c3 (diff)
treewide: clean up all qttranslations workarounds
There are two kinds of changes here:
- removing explicit qttranslations path hardcoding from applications that were patched to do it
- replacing qttranslations in buildInputs with qttools for packages that really depend on the latter

After this, qttranslation is never used outside Qt itself, as it should.
Diffstat (limited to 'pkgs/applications/editors/molsketch')
-rw-r--r--pkgs/applications/editors/molsketch/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/editors/molsketch/default.nix b/pkgs/applications/editors/molsketch/default.nix
index d688a50f28d39..55db4096ce153 100644
--- a/pkgs/applications/editors/molsketch/default.nix
+++ b/pkgs/applications/editors/molsketch/default.nix
@@ -3,11 +3,11 @@
 , fetchurl
 , cmake
 , pkg-config
+, qttools
 , wrapQtAppsHook
 , hicolor-icon-theme
 , openbabel
 , desktop-file-utils
-, qttranslations
 }:
 
 mkDerivation rec {
@@ -37,12 +37,11 @@ mkDerivation rec {
     mv $out/lib/molsketch/* $out/lib
   '';
 
-  nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+  nativeBuildInputs = [ cmake pkg-config qttools wrapQtAppsHook ];
   buildInputs = [
     hicolor-icon-theme
     openbabel
     desktop-file-utils
-    qttranslations
   ];
 
   meta = with lib; {