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;
platforms = platforms.unix;
maintainers = [ maintainers.vcunat ];
mainProgram = "knotd";
};
}

View file

@ -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