about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-05-21 14:45:06 +0800
committerPeter Hoeg <peter@hoeg.com>2019-04-24 13:11:50 +0800
commiteaae476d42106741236d644268e88483aee885ae (patch)
tree48b4fc412eec9671f0ec8682d1861d94588f0992
parentd26027792812fbfad4d0f451b5f47fdabf7fdeb9 (diff)
downloadnixlib-eaae476d42106741236d644268e88483aee885ae.tar
nixlib-eaae476d42106741236d644268e88483aee885ae.tar.gz
nixlib-eaae476d42106741236d644268e88483aee885ae.tar.bz2
nixlib-eaae476d42106741236d644268e88483aee885ae.tar.lz
nixlib-eaae476d42106741236d644268e88483aee885ae.tar.xz
nixlib-eaae476d42106741236d644268e88483aee885ae.tar.zst
nixlib-eaae476d42106741236d644268e88483aee885ae.zip
appstream-qt: do not remove built libraries
-rw-r--r--pkgs/development/libraries/appstream/qt.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/development/libraries/appstream/qt.nix b/pkgs/development/libraries/appstream/qt.nix
index c5a251cd5f9f..0013764d7791 100644
--- a/pkgs/development/libraries/appstream/qt.nix
+++ b/pkgs/development/libraries/appstream/qt.nix
@@ -1,5 +1,7 @@
 { stdenv, appstream, qtbase, qttools }:
 
+# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
+
 stdenv.mkDerivation rec {
   name = "appstream-qt-${version}";
   inherit (appstream) version src prePatch;
@@ -10,15 +12,6 @@ stdenv.mkDerivation rec {
 
   mesonFlags = appstream.mesonFlags ++ [ "-Dqt=true" ];
 
-  postInstall = ''
-    rm -rf $out/{bin,etc,include/appstream,lib/pkgconfig,lib/libappstream.so*,share}
-  '';
-
-  preFixup = ''
-    patchelf --add-needed ${appstream}/lib/libappstream.so.4 \
-      $out/lib/libAppStreamQt.so
-  '';
-
   meta = appstream.meta // {
     description = "Software metadata handling library - Qt";
  };