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 :)
This commit is contained in:
OPNA2608 2024-10-25 18:57:06 +02:00
parent 00082729b4
commit 4d3d768e43

View File

@ -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 { };