mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
cutemaze: unbreak on darwin
This commit is contained in:
parent
a8fa8c2e90
commit
a4122c898c
@ -26,14 +26,20 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtwayland
|
||||
qtsvg
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
qtwayland
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
installPhase = if stdenv.isDarwin then ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/Applications
|
||||
mv CuteMaze.app $out/Applications
|
||||
'';
|
||||
makeWrapper $out/Applications/CuteMaze.app/Contents/MacOS/CuteMaze $out/bin/cutemaze
|
||||
|
||||
runHook postInstall
|
||||
'' else null;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/gottcode/cutemaze/blob/v${version}/ChangeLog";
|
||||
|
Loading…
Reference in New Issue
Block a user