commit 14e29f1d7220396fc3d041821f3e2622bf91c17c
parent 67381b65194397211033fde6d411d4114993c6d4
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Sat, 27 Jun 2020 23:15:18 +0300
gpxsee,gpxlab,mapper: add symlinks
Diffstat:
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/pkgs/applications/gpxlab/default.nix b/pkgs/applications/gpxlab/default.nix
@@ -35,6 +35,8 @@ mkDerivation rec {
mkdir -p $out/Applications
mv GPXLab/GPXLab.app $out/Applications
wrapQtApp $out/Applications/GPXLab.app/Contents/MacOS/GPXLab
+ mkdir -p $out/bin
+ ln -s $out/Applications/GPXLab.app/Contents/MacOS/GPXLab $out/bin/gpxlab
'';
enableParallelBuilding = true;
diff --git a/pkgs/applications/gpxsee/default.nix b/pkgs/applications/gpxsee/default.nix
@@ -35,6 +35,8 @@ mkDerivation rec {
mkdir -p $out/Applications
mv GPXSee.app $out/Applications
wrapQtApp $out/Applications/GPXSee.app/Contents/MacOS/GPXSee
+ mkdir -p $out/bin
+ ln -s $out/Applications/GPXSee.app/Contents/MacOS/GPXSee $out/bin/gpxsee
'';
enableParallelBuilding = true;
diff --git a/pkgs/applications/openorienteering-mapper/default.nix b/pkgs/applications/openorienteering-mapper/default.nix
@@ -72,6 +72,8 @@ mkDerivation rec {
# Fixes "This application failed to start because it could not find or load the Qt
# platform plugin "cocoa"."
wrapQtApp $out/Applications/Mapper.app/Contents/MacOS/Mapper
+ mkdir -p $out/bin
+ ln -s $out/Applications/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper
'';
meta = with lib; {