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:10:16 +02:00
parent c67f72cae5
commit f60377210e
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -81,5 +81,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ maintainers.vcunat ];
mainProgram = "knotd";
};
}
@@ -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