diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-09-13 23:40:30 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-13 23:40:30 +0200 |
commit | 68956555c18d3d41c26f1693c343a421e233559a (patch) | |
tree | 33151221bda364f645b7355d32891557ff9262ae /pkgs/misc | |
parent | d782c4eba57141452583e9d47d3e3c77f9bd47ef (diff) |
calaos_installer: fix darwin install (#46629)
On darwin this builds an application instead of a binary.
/cc ZHF #45961
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/calaos/installer/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/misc/calaos/installer/default.nix b/pkgs/misc/calaos/installer/default.nix index 36c8825d27a8..618bc6d85059 100644 --- a/pkgs/misc/calaos/installer/default.nix +++ b/pkgs/misc/calaos/installer/default.nix @@ -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 ''; |