Skip to content

Commit

Permalink
calaos_installer: fix darwin install (#46629)
Browse files Browse the repository at this point in the history
On darwin this builds an application instead of a binary.

/cc ZHF #45961
  • Loading branch information
LnL7 authored and xeji committed Sep 13, 2018
1 parent d782c4e commit 6895655
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/misc/calaos/installer/default.nix
Expand Up @@ -16,7 +16,10 @@ stdenv.mkDerivation rec {

qmakeFlags = [ "REVISION=${version}" ];

installPhase = ''
installPhase = if stdenv.isDarwin then ''
mkdir -p $out/Applications
cp -a calaos_installer.app $out/Applications
'' else ''
mkdir -p $out/bin
cp -a calaos_installer $out/bin
'';
Expand Down

0 comments on commit 6895655

Please sign in to comment.