mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +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.
21 lines
589 B
Nix
21 lines
589 B
Nix
{
|
|
mkDerivation, lib, extra-cmake-modules,
|
|
kauth, kcodecs, kconfig, kdoctools, kguiaddons, ki18n, kwidgetsaddons, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kconfigwidgets";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
|
|
buildInputs = [ kguiaddons ki18n qtbase ];
|
|
propagatedBuildInputs = [ kauth kcodecs kconfig kwidgetsaddons ];
|
|
patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
|
|
outputs = [ "out" "dev" ];
|
|
preConfigure = ''
|
|
outputBin=dev
|
|
'';
|
|
postInstall = ''
|
|
moveToOutput share/man $dev
|
|
'';
|
|
}
|