mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
plasma-desktop: propagate runtime dependencies
This commit is contained in:
parent
3af1894557
commit
7500e0d19c
|
@ -19,14 +19,14 @@ plasmaPackage {
|
|||
buildInputs = [
|
||||
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels
|
||||
knewstuff knotifications knotifyconfig kwallet libcanberra_kde
|
||||
libXcursor libpulseaudio libXft libxkbfile phonon qtdeclarative
|
||||
qtx11extras qtsvg xf86inputevdev xf86inputsynaptics
|
||||
libXcursor libpulseaudio libXft libxkbfile phonon
|
||||
qtsvg xf86inputevdev xf86inputsynaptics
|
||||
xkeyboard_config xinput
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
baloo kactivities kauth kdeclarative kdelibs4support kemoticons
|
||||
kglobalaccel ki18n kpeople krunner kwin plasma-framework
|
||||
plasma-workspace
|
||||
plasma-workspace qtdeclarative qtx11extras
|
||||
];
|
||||
patches = [
|
||||
(substituteAll {
|
||||
|
@ -41,6 +41,14 @@ plasmaPackage {
|
|||
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
|
||||
];
|
||||
postInstall = ''
|
||||
# These files are installed in the wrong location.
|
||||
cd "$out/share/plasma/plasmoids/org.kde.desktopcontainment/contents"
|
||||
mv "code/LayoutManager.js" "ui/LayoutManager.js"
|
||||
cd "$out/share/plasma/plasmoids/org.kde.panel/contents"
|
||||
mv "code/LayoutManager.js" "ui/LayoutManager.js"
|
||||
|
||||
cd "$NIX_BUILD_TOP"
|
||||
|
||||
wrapKDEProgram "$out/bin/kaccess"
|
||||
wrapKDEProgram "$out/bin/solid-action-desktop-gen"
|
||||
wrapKDEProgram "$out/bin/knetattach"
|
||||
|
|
Loading…
Reference in a new issue