Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
581 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
mkDerivation,
propagate,
extra-cmake-modules,
kcoreaddons,
qttools,
enablePolkit ? stdenv.hostPlatform.isLinux,
polkit-qt,
}:
mkDerivation {
pname = "kauth";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = lib.optional enablePolkit polkit-qt ++ [ qttools ];
propagatedBuildInputs = [ kcoreaddons ];
patches = [
./cmake-install-paths.patch
];
# library stores reference to plugin path,
# separating $out from $bin would create a reference cycle
outputs = [
"out"
"dev"
];
setupHook = propagate "out";
}