mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
faf0d3e91d
- Reduce environment pollution with a separate $bin output containing programs, plugins, and shared data. Libraries remain in $out and are not installed into the environment. - Only propagate build inputs as required.
19 lines
717 B
Nix
19 lines
717 B
Nix
{
|
|
mkDerivation, extra-cmake-modules, shared_mime_info,
|
|
bluez-qt, kcoreaddons, kdbusaddons, kded, ki18n, kiconthemes, kio,
|
|
knotifications, kwidgetsaddons, kwindowsystem, plasma-framework, qtdeclarative
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "bluedevil";
|
|
nativeBuildInputs = [ extra-cmake-modules shared_mime_info ];
|
|
buildInputs = [
|
|
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
|
|
kdbusaddons kded kiconthemes knotifications kwidgetsaddons
|
|
];
|
|
postInstall = ''
|
|
# Fix the location of logic.js for the plasmoid
|
|
ln -s $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js
|
|
'';
|
|
}
|