diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-09-20 13:08:34 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2022-09-20 13:10:16 +0200 |
commit | f60377210e92df7dbd4d89682e476d6cb17e747d (patch) | |
tree | 574c0605efd6aad600d0e9108402edfc2ba8615e /pkgs/servers/dns | |
parent | c67f72cae5a2ca268c1ea637c7c23b7fd8c40156 (diff) |
knot-*: set .meta.mainProgram
I believe it's clear what "main program" is in these cases. It seems unclear if this change is useful, but it's very simple and it shouldn't hurt anything.
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-dns/default.nix | 1 | ||||
-rw-r--r-- | pkgs/servers/dns/knot-resolver/default.nix | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index 02b8e01437d0d..6ed706c537868 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -81,5 +81,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; platforms = platforms.unix; maintainers = [ maintainers.vcunat ]; + mainProgram = "knotd"; }; } diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index dc14049b9dbbf..192400faea9ef 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -112,6 +112,7 @@ unwrapped = stdenv.mkDerivation rec { license = licenses.gpl3Plus; platforms = platforms.unix; maintainers = [ maintainers.vcunat /* upstream developer */ ]; + mainProgram = "kresd"; }; }; @@ -126,6 +127,7 @@ wrapped-full = runCommand unwrapped.name ]; preferLocalBuild = true; allowSubstitutes = false; + inherit (unwrapped) meta; } '' mkdir -p "$out"/bin |