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>
14 lines
362 B
Nix
14 lines
362 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
kcoreaddons, ki18n, kpty, kservice, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kdesu";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ kcoreaddons ki18n kpty kservice qtbase ];
|
|
propagatedBuildInputs = [ kpty ];
|
|
outputs = [ "out" "dev" ];
|
|
patches = [ ./kdesu-search-for-wrapped-daemon-first.patch ];
|
|
}
|