localsend: darwin: link binary to $out/bin
This commit is contained in:
parent
952804a3d2
commit
ed27463277
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
, pkg-config
|
||||
, libayatana-appindicator
|
||||
, undmg
|
||||
, makeBinaryWrapper
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -72,13 +73,14 @@ let
|
|||
hash = "sha256-L7V48QoOA0cjx45n+9Xav/zzCzCsZB3TBip0WGusMXg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
nativeBuildInputs = [ undmg makeBinaryWrapper ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r *.app $out/Applications
|
||||
makeBinaryWrapper $out/Applications/LocalSend.app/Contents/MacOS/LocalSend $out/bin/localsend
|
||||
'';
|
||||
|
||||
meta = metaCommon // {
|
||||
|
|
Loading…
Reference in a new issue