scripts: add meta.mainProgram
This commit is contained in:
parent
b1f18fef38
commit
d2babea88d
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
runCommandNoCCLocal name {
|
runCommandNoCCLocal name {
|
||||||
inherit src;
|
inherit src;
|
||||||
nativeBuildInputs = [makeBinaryWrapper];
|
nativeBuildInputs = [makeBinaryWrapper];
|
||||||
|
meta.mainProgram = name;
|
||||||
} ''
|
} ''
|
||||||
install -Dm755 $src $out/bin/.$name
|
install -Dm755 $src $out/bin/.$name
|
||||||
makeBinaryWrapper ${runtimeShell} $out/bin/$name \
|
makeBinaryWrapper ${runtimeShell} $out/bin/$name \
|
||||||
|
|
Loading…
Reference in a new issue