https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
12 lines
244 B
Nix
12 lines
244 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
qtbase, qttools, qtx11extras
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kdbusaddons";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ qttools qtx11extras ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
}
|