Skip to content

Commit

Permalink
#2912 nix: try to find binary or app
Browse files Browse the repository at this point in the history
Signed-off-by: Patrizio Bekerle <[email protected]>
  • Loading branch information
pbek committed Dec 9, 2024
1 parent 1c593a4 commit 8e0a379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ stdenv.mkDerivation {
# Wrap application for macOS as lowercase binary
+ lib.optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
find $out
mv $out/bin/${appname}.app $out/Applications
makeWrapper $out/Applications/${appname}.app/Contents/MacOS/${appname} $out/bin/${pname}
'';
Expand Down

0 comments on commit 8e0a379

Please sign in to comment.