kdeFrameworks: fixup inputs and outputs
- 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.
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
{
|
||||
mkDerivation, lib, copyPathsToStore,
|
||||
bison, extra-cmake-modules, flex,
|
||||
kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem
|
||||
kconfig, kcoreaddons, kcrash, kdbusaddons, kdoctools, ki18n, kwindowsystem,
|
||||
qtbase,
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
name = "kservice";
|
||||
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
||||
propagatedNativeBuildInputs = [ bison extra-cmake-modules flex ];
|
||||
nativeBuildInputs = [ kdoctools ];
|
||||
propagatedBuildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ki18n kwindowsystem ];
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
||||
propagatedNativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [
|
||||
kcrash kdbusaddons ki18n kwindowsystem qtbase
|
||||
];
|
||||
propagatedBuildInputs = [ kconfig kcoreaddons ];
|
||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user