mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
pokefinder: fix build on darwin
This commit is contained in:
parent
1a711794d5
commit
c49d2e8a59
@ -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