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.
This commit is contained in:
Vladimír Čunát 2022-09-20 13:08:34 +02:00
parent c67f72cae5
commit f60377210e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 0 deletions

View File

@ -81,5 +81,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.vcunat ]; maintainers = [ maintainers.vcunat ];
mainProgram = "knotd";
}; };
} }

View File

@ -112,6 +112,7 @@ unwrapped = stdenv.mkDerivation rec {
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.vcunat /* upstream developer */ ]; maintainers = [ maintainers.vcunat /* upstream developer */ ];
mainProgram = "kresd";
}; };
}; };
@ -126,6 +127,7 @@ wrapped-full = runCommand unwrapped.name
]; ];
preferLocalBuild = true; preferLocalBuild = true;
allowSubstitutes = false; allowSubstitutes = false;
inherit (unwrapped) meta;
} }
'' ''
mkdir -p "$out"/bin mkdir -p "$out"/bin