nixos/knot-resolver: default package to the passed through and overwritten package of the manager

This commit is contained in:
Sandro Jäckel
2025-12-08 02:47:58 +01:00
parent dd6ed2194e
commit 4619234604
2 changed files with 5 additions and 1 deletions
@@ -36,7 +36,7 @@ in
If you want to use knot-resolver 5, please use services.kresd.
'';
};
package = lib.mkPackageOption pkgs "knot-resolver_6" {
package = lib.mkPackageOption pkgs "knot-resolver-manager_6.knot-resolver" {
example = "knot-resolver_6.override { extraFeatures = true; }";
};
managerPackage = lib.mkPackageOption pkgs "knot-resolver-manager_6" { };
@@ -71,6 +71,10 @@ python3Packages.buildPythonPackage {
"test_proxy_rehandshake_tls12"
];
passthru = {
inherit knot-resolver;
};
meta = knot-resolver.meta // {
mainProgram = "knot-resolver";
};