pokefinder: fix build on darwin
This commit is contained in:
parent
1a711794d5
commit
c49d2e8a59
1 changed files with 4 additions and 1 deletions
|
@ -26,8 +26,11 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs Source/Core/Resources/
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
installPhase = lib.optionalString (!stdenv.isDarwin) ''
|
||||
install -D Source/Forms/PokeFinder $out/bin/PokeFinder
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
cp -R Source/Forms/PokeFinder.app $out/Applications
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake wrapQtAppsHook ];
|
||||
|
|
Loading…
Reference in a new issue