mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
calaos_installer: fix darwin install (#46629)
On darwin this builds an application instead of a binary. /cc ZHF #45961
This commit is contained in:
parent
d782c4eba5
commit
68956555c1
@ -16,7 +16,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
qmakeFlags = [ "REVISION=${version}" ];
|
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
|
mkdir -p $out/bin
|
||||||
cp -a calaos_installer $out/bin
|
cp -a calaos_installer $out/bin
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user