79921889a0
Nix expressions provide all the features that Quilt series files have, so using those instead is pointless. Also, lib.readPathsFromFile (the function used to read series files) has the following warning: > NOTE: This function is not performant and should be avoided. This also removes some orphaned series files, and unused references to copyPathsToStore (which were probably missed in previous commits where calls to lib.readPathsFromFile were removed)
20 lines
531 B
Nix
20 lines
531 B
Nix
{
|
|
mkDerivation, lib, propagate,
|
|
extra-cmake-modules, kcoreaddons, polkit-qt, qttools
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kauth";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ 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";
|
|
}
|