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.
13 lines
420 B
Nix
13 lines
420 B
Nix
{
|
|
mkDerivation, fetchurl, lib, copyPathsToStore,
|
|
extra-cmake-modules, kdoctools,
|
|
karchive, kconfig, kcoreaddons, ki18n, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kpackage";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [ karchive kconfig kcoreaddons ki18n qtbase ];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
}
|