mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge pull request #212361 from wegank/pokefinder-darwin
pokefinder: fix build on darwin
This commit is contained in:
commit
0ec12a35d5
@ -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 New Issue
Block a user