scripts: add meta.mainProgram
This commit is contained in:
parent
fa99555c12
commit
1115737759
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