mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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.
18 lines
409 B
Nix
18 lines
409 B
Nix
{
|
|
mkDerivation, lib, propagateBin,
|
|
extra-cmake-modules,
|
|
qtbase, wayland
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kwayland";
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
broken = builtins.compareVersions qtbase.version "5.6.0" < 0;
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ wayland ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
setupHook = propagateBin; # XDG_CONFIG_DIRS
|
|
}
|