Skip to content

Commit

Permalink
lomiri.lomiri-url-dispatcher: Split library into separate output
Browse files Browse the repository at this point in the history
To reduce the download closure of libayatana-common from 962.7M to 63.2M.
Not every libayatana-common user needs to install Lomiri now :)
  • Loading branch information
OPNA2608 committed Oct 25, 2024
1 parent 0008272 commit 4d3d768
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [
"out"
"dev"
"lib"
];

patches = [
Expand Down Expand Up @@ -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 { };
Expand Down

0 comments on commit 4d3d768

Please sign in to comment.