Commit 4d3d768e authored by OPNA2608's avatar OPNA2608
Browse files

lomiri.lomiri-url-dispatcher: Split library into separate output

To reduce the download closure of libayatana-common from 962.7M to 63.2M.
Not every libayatana-common user needs to install Lomiri now :)
parent 00082729
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
  outputs = [
    "out"
    "dev"
    "lib"
  ];

  patches = [
@@ -150,6 +151,11 @@ stdenv.mkDerivation (finalAttrs: {
    wrapQtApp $out/bin/lomiri-url-dispatcher-gui
  '';

  postFixup = ''
    moveToOutput share $out
    moveToOutput libexec $out
  '';

  passthru = {
    tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
    updateScript = gitUpdater { };