git.iko.soy/typeable/nixpkgs
on master help sign in
calaos_installer: fix darwin install (#46629)

On darwin this builds an application instead of a binary. /cc ZHF #45961

commit68956555c18d3d41c26f1693c343a421e233559a authorDaiderd Jordan <daiderd@gmail.com> dateThu 13 Sep 2018, 23:40 (8 years ago) parentd782c4e
1 file changed+4−1
pkgs/misc/calaos/installer/default.nix+4−1
pkgs/misc/calaos/installer/default.nix+4−1
@@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
1616
1717 qmakeFlags = [ "REVISION=${version}" ];
1818
19− installPhase = ''
19+ installPhase = if stdenv.isDarwin then ''
20+ mkdir -p $out/Applications
21+ cp -a calaos_installer.app $out/Applications
22+ '' else ''
2023 mkdir -p $out/bin
2124 cp -a calaos_installer $out/bin
2225 '';